#[non_exhaustive]pub struct OtnRate {
pub fixed_stuff_bytes: Option<bool>,
pub pass_through: Option<bool>,
pub otu4: bool,
pub oc192: bool,
}Expand description
The rate of an OTN 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.fixed_stuff_bytes: Option<bool>Some(true) for fixed-stuff-bytes, Some(false) for no-fixed-stuff-bytes.
pass_through: Option<bool>Some(true) for pass-through, Some(false) for no-pass-through.
otu4: bool§oc192: boolTrait Implementations§
impl Eq for OtnRate
impl StructuralPartialEq for OtnRate
Auto Trait Implementations§
impl Forget for OtnRate
impl Freeze for OtnRate
impl Move for OtnRate
impl RefUnwindSafe for OtnRate
impl Send for OtnRate
impl Sync for OtnRate
impl Unpin for OtnRate
impl UnsafeUnpin for OtnRate
impl UnwindSafe for OtnRate
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