pub struct Desktop {
pub kind: Option<Kind>,
pub name: Option<String>,
pub session: Option<String>,
pub display_manager: Option<DisplayManager>,
pub appearance: Vec<Value>,
pub owners: Vec<String>,
pub blocked: Option<String>,
}Expand description
What the machine’s desktop is.
Fields§
§kind: Option<Kind>§name: Option<String>“KDE Plasma 6.8.0”.
session: Option<String>wayland or x11.
display_manager: Option<DisplayManager>§appearance: Vec<Value>The appearance settings, in the desktop’s order, with their values.
owners: Vec<String>Who else sets these settings.
blocked: Option<String>Whether HelixForge would refuse to change the settings, and why.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Desktop
impl RefUnwindSafe for Desktop
impl Send for Desktop
impl Sync for Desktop
impl Unpin for Desktop
impl UnsafeUnpin for Desktop
impl UnwindSafe for Desktop
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.