Struct RegisteredEvents
#[non_exhaustive]pub struct RegisteredEvents {
pub card_status: Option<bool>,
}Expand description
Indications that the modem enabled.
Returned by EventReg.
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.card_status: Option<bool>Whether card status indications are on, or None if the modem doesn’t
report it.
Trait Implementations§
§impl Clone for RegisteredEvents
impl Clone for RegisteredEvents
§fn clone(&self) -> RegisteredEvents
fn clone(&self) -> RegisteredEvents
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 RegisteredEvents
§impl Debug for RegisteredEvents
impl Debug for RegisteredEvents
impl Eq for RegisteredEvents
§impl PartialEq for RegisteredEvents
impl PartialEq for RegisteredEvents
impl StructuralPartialEq for RegisteredEvents
§impl TryFrom<&Message> for RegisteredEvents
impl TryFrom<&Message> for RegisteredEvents
§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 RegisteredEvents
impl RefUnwindSafe for RegisteredEvents
impl Send for RegisteredEvents
impl Sync for RegisteredEvents
impl Unpin for RegisteredEvents
impl UnsafeUnpin for RegisteredEvents
impl UnwindSafe for RegisteredEvents
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