Struct Manufacturer
#[non_exhaustive]pub struct Manufacturer {
pub name: Utf8Bytes,
}Expand description
Manufacturer of the modem.
Returned by GetManufacturer. The AG35 reports Quectel, Incorporated.
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.name: Utf8BytesManufacturer name.
Trait Implementations§
§impl Clone for Manufacturer
impl Clone for Manufacturer
§fn clone(&self) -> Manufacturer
fn clone(&self) -> Manufacturer
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 Manufacturer
impl Debug for Manufacturer
impl Eq for Manufacturer
§impl PartialEq for Manufacturer
impl PartialEq for Manufacturer
impl StructuralPartialEq for Manufacturer
§impl TryFrom<&Message> for Manufacturer
impl TryFrom<&Message> for Manufacturer
§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 Manufacturer
impl RefUnwindSafe for Manufacturer
impl Send for Manufacturer
impl Sync for Manufacturer
impl Unpin for Manufacturer
impl UnsafeUnpin for Manufacturer
impl UnwindSafe for Manufacturer
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