pub struct Settings {
pub max_tier: Tier,
pub user_controllable_units: Vec<String>,
pub user_controllable_changes: Vec<ChangeId>,
pub user_controllable_options: Vec<String>,
}Expand description
Owner settings (not manifest options, not proposal fields).
Fields§
§max_tier: TierObserve, Runtime or Tested. Anything above it becomes AskFirst.
user_controllable_units: Vec<String>services.planarian.userControllable: system unit names an
unprivileged user may act on.
user_controllable_changes: Vec<ChangeId>Catalog entries an unprivileged user may apply (display scaling, …).
user_controllable_options: Vec<String>Runtime options an unprivileged user may set (their own Wi-Fi, …).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Settings
impl<'de> Deserialize<'de> for Settings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Settings
impl StructuralPartialEq for Settings
Auto Trait Implementations§
impl Freeze for Settings
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnsafeUnpin for Settings
impl UnwindSafe for Settings
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more