pub struct Version2OpticalIfaceParameters {
pub input_mode: V2OptIfaceMode,
pub output_mode: V2OptIfaceMode,
}Expand description
The parameters of optical interfaces.
Fields§
§input_mode: V2OptIfaceModeThe mode of signal in optical input interface.
output_mode: V2OptIfaceModeThe mode of signal in optical output interface.
Trait Implementations§
Source§impl Clone for Version2OpticalIfaceParameters
impl Clone for Version2OpticalIfaceParameters
Source§fn clone(&self) -> Version2OpticalIfaceParameters
fn clone(&self) -> Version2OpticalIfaceParameters
Returns a duplicate 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 moreSource§impl Default for Version2OpticalIfaceParameters
impl Default for Version2OpticalIfaceParameters
Source§fn default() -> Version2OpticalIfaceParameters
fn default() -> Version2OpticalIfaceParameters
Returns the “default value” for a type. Read more
Source§impl PartialEq for Version2OpticalIfaceParameters
impl PartialEq for Version2OpticalIfaceParameters
Source§fn eq(&self, other: &Version2OpticalIfaceParameters) -> bool
fn eq(&self, other: &Version2OpticalIfaceParameters) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for Version2OpticalIfaceParameters
impl Eq for Version2OpticalIfaceParameters
impl StructuralPartialEq for Version2OpticalIfaceParameters
Auto Trait Implementations§
impl Freeze for Version2OpticalIfaceParameters
impl RefUnwindSafe for Version2OpticalIfaceParameters
impl Send for Version2OpticalIfaceParameters
impl Sync for Version2OpticalIfaceParameters
impl Unpin for Version2OpticalIfaceParameters
impl UnwindSafe for Version2OpticalIfaceParameters
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<O> MotuWhollyCacheableParamsOperation<Version2OpticalIfaceParameters> for Owhere
O: MotuVersion2OpticalIfaceSpecification,
impl<O> MotuWhollyCacheableParamsOperation<Version2OpticalIfaceParameters> for Owhere
O: MotuVersion2OpticalIfaceSpecification,
Source§fn cache_wholly(
req: &mut FwReq,
node: &mut FwNode,
params: &mut Version2OpticalIfaceParameters,
timeout_ms: u32,
) -> Result<(), Error>
fn cache_wholly( req: &mut FwReq, node: &mut FwNode, params: &mut Version2OpticalIfaceParameters, timeout_ms: u32, ) -> Result<(), Error>
Cache whole parameters.
Source§impl<O> MotuWhollyUpdatableParamsOperation<Version2OpticalIfaceParameters> for Owhere
O: MotuVersion2OpticalIfaceSpecification,
impl<O> MotuWhollyUpdatableParamsOperation<Version2OpticalIfaceParameters> for Owhere
O: MotuVersion2OpticalIfaceSpecification,
Source§fn update_wholly(
req: &mut FwReq,
node: &mut FwNode,
params: &Version2OpticalIfaceParameters,
timeout_ms: u32,
) -> Result<(), Error>
fn update_wholly( req: &mut FwReq, node: &mut FwNode, params: &Version2OpticalIfaceParameters, timeout_ms: u32, ) -> Result<(), Error>
Update whole parameters.