pub struct ExportData<'a> {
pub cpu: Option<ExportMember<'a, Processors>>,
pub ram: Option<ExportMember<'a, RAM>>,
pub battery: Option<ExportMember<'a, BatInfo>>,
pub drm: Option<ExportMember<'a, Video>>,
pub os_release: Option<ExportMember<'a, OsRelease>>,
pub kernel: Option<ExportMember<'a, Kernel>>,
pub kmods: Option<ExportMember<'a, KModules>>,
pub users: Option<ExportMember<'a, Users>>,
pub groups: Option<ExportMember<'a, Groups>>,
pub systemd: Option<ExportMember<'a, SystemdServices>>,
pub misc: Option<ExportMember<'a, System>>,
}Fields§
§cpu: Option<ExportMember<'a, Processors>>§ram: Option<ExportMember<'a, RAM>>§battery: Option<ExportMember<'a, BatInfo>>§drm: Option<ExportMember<'a, Video>>§os_release: Option<ExportMember<'a, OsRelease>>§kernel: Option<ExportMember<'a, Kernel>>§kmods: Option<ExportMember<'a, KModules>>§users: Option<ExportMember<'a, Users>>§groups: Option<ExportMember<'a, Groups>>§systemd: Option<ExportMember<'a, SystemdServices>>§misc: Option<ExportMember<'a, System>>Trait Implementations§
Source§impl<'a> Clone for ExportData<'a>
impl<'a> Clone for ExportData<'a>
Source§fn clone(&self) -> ExportData<'a>
fn clone(&self) -> ExportData<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for ExportData<'a>
impl<'a> Debug for ExportData<'a>
Source§impl<'a> From<&'a mut Ferrix> for ExportData<'a>
impl<'a> From<&'a mut Ferrix> for ExportData<'a>
Source§impl<'a> Serialize for ExportData<'a>
impl<'a> Serialize for ExportData<'a>
Auto Trait Implementations§
impl<'a> Freeze for ExportData<'a>
impl<'a> RefUnwindSafe for ExportData<'a>
impl<'a> Send for ExportData<'a>
impl<'a> Sync for ExportData<'a>
impl<'a> Unpin for ExportData<'a>
impl<'a> UnsafeUnpin for ExportData<'a>
impl<'a> UnwindSafe for ExportData<'a>
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.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<State, Message> IntoBoot<State, Message> for State
impl<State, Message> IntoBoot<State, Message> for State
Source§fn into_boot(self) -> (State, Task<Message>)
fn into_boot(self) -> (State, Task<Message>)
Turns some type into the initial state of some
Application.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more