#[non_exhaustive]pub struct CosUnit {
pub number: String,
pub settings: CosSettings,
}Expand description
A unit <number> of a class-of-service interface.
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.number: String§settings: CosSettingsTrait Implementations§
impl Eq for CosUnit
impl StructuralPartialEq for CosUnit
Auto Trait Implementations§
impl Forget for CosUnit
impl Freeze for CosUnit
impl Move for CosUnit
impl RefUnwindSafe for CosUnit
impl Send for CosUnitwhere
RawVecInner: Send,
impl Sync for CosUnitwhere
RawVecInner: Sync,
impl Unpin for CosUnit
impl UnsafeUnpin for CosUnitwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<AppliedMapping>: UnsafeUnpin,
impl UnwindSafe for CosUnitwhere
RawVecInner: UnwindSafe,
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