pub struct InterfaceDuplex {
pub value: Option<Value>,
pub label: Option<Label>,
}Fields§
§value: Option<Value>half- Half *full- Full *auto- Auto
label: Option<Label>Implementations§
Source§impl InterfaceDuplex
impl InterfaceDuplex
pub fn new() -> InterfaceDuplex
Trait Implementations§
Source§impl Clone for InterfaceDuplex
impl Clone for InterfaceDuplex
Source§fn clone(&self) -> InterfaceDuplex
fn clone(&self) -> InterfaceDuplex
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 Debug for InterfaceDuplex
impl Debug for InterfaceDuplex
Source§impl Default for InterfaceDuplex
impl Default for InterfaceDuplex
Source§fn default() -> InterfaceDuplex
fn default() -> InterfaceDuplex
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InterfaceDuplex
impl<'de> Deserialize<'de> for InterfaceDuplex
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for InterfaceDuplex
impl PartialEq for InterfaceDuplex
Source§impl Serialize for InterfaceDuplex
impl Serialize for InterfaceDuplex
impl StructuralPartialEq for InterfaceDuplex
Auto Trait Implementations§
impl Freeze for InterfaceDuplex
impl RefUnwindSafe for InterfaceDuplex
impl Send for InterfaceDuplex
impl Sync for InterfaceDuplex
impl Unpin for InterfaceDuplex
impl UnwindSafe for InterfaceDuplex
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