Struct SysInfoIndication
#[non_exhaustive]pub struct SysInfoIndication {
pub sys_info: SysInfo,
pub no_change: bool,
}Expand description
A system information indication (QMI_NAS_SYS_INFO_IND).
Enable it with
IndicationRegister::sys_info. Limit
it with SetSysInfoIndReportingLimit.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.sys_info: SysInfoThe system information.
no_change: boolWhether nothing changed since the last indication
(sys_info_no_change).
Trait Implementations§
§impl Clone for SysInfoIndication
impl Clone for SysInfoIndication
§fn clone(&self) -> SysInfoIndication
fn clone(&self) -> SysInfoIndication
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SysInfoIndication
§impl Debug for SysInfoIndication
impl Debug for SysInfoIndication
§impl Default for SysInfoIndication
impl Default for SysInfoIndication
§fn default() -> SysInfoIndication
fn default() -> SysInfoIndication
Returns the “default value” for a type. Read more
impl Eq for SysInfoIndication
§impl PartialEq for SysInfoIndication
impl PartialEq for SysInfoIndication
impl StructuralPartialEq for SysInfoIndication
§impl TryFrom<&Message> for SysInfoIndication
impl TryFrom<&Message> for SysInfoIndication
§type Error = DecodeError
type Error = DecodeError
The type returned in the event of a conversion error.
§fn try_from(message: &Message) -> Result<Self, DecodeError>
fn try_from(message: &Message) -> Result<Self, DecodeError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SysInfoIndication
impl RefUnwindSafe for SysInfoIndication
impl Send for SysInfoIndication
impl Sync for SysInfoIndication
impl Unpin for SysInfoIndication
impl UnsafeUnpin for SysInfoIndication
impl UnwindSafe for SysInfoIndication
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