Struct Transparent
#[non_exhaustive]pub struct Transparent {
pub content: Bytes,
pub card_result: Option<CardResult>,
}Expand description
Content of a transparent file.
Returned by ReadTransparent.
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.content: BytesContent of the file.
card_result: Option<CardResult>Status word of the card, if the modem reports it.
Trait Implementations§
§impl Clone for Transparent
impl Clone for Transparent
§fn clone(&self) -> Transparent
fn clone(&self) -> Transparent
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 more§impl Debug for Transparent
impl Debug for Transparent
impl Eq for Transparent
§impl PartialEq for Transparent
impl PartialEq for Transparent
impl StructuralPartialEq for Transparent
§impl TryFrom<&Message> for Transparent
impl TryFrom<&Message> for Transparent
§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 Transparent
impl RefUnwindSafe for Transparent
impl Send for Transparent
impl Sync for Transparent
impl Unpin for Transparent
impl UnsafeUnpin for Transparent
impl UnwindSafe for Transparent
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