Struct huawei_modem::gsm_encoding::udh::UdhComponent
source · pub struct UdhComponent {
pub id: u8,
pub data: Vec<u8>,
}
Expand description
Component of a User Data Header.
Fields§
§id: u8
Component identifier.
data: Vec<u8>
Component data.
Trait Implementations§
source§impl Clone for UdhComponent
impl Clone for UdhComponent
source§fn clone(&self) -> UdhComponent
fn clone(&self) -> UdhComponent
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for UdhComponent
impl Send for UdhComponent
impl Sync for UdhComponent
impl Unpin for UdhComponent
impl UnwindSafe for UdhComponent
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