pub struct PtpConfig {
pub enabled: bool,
pub domain: u8,
pub interface: String,
pub transport: String,
pub priority1: u8,
pub priority2: u8,
pub delay_mechanism: String,
}Fields§
§enabled: bool§domain: u8§interface: String§transport: String§priority1: u8§priority2: u8§delay_mechanism: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for PtpConfig
impl<'de> Deserialize<'de> for PtpConfig
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
Auto Trait Implementations§
impl Freeze for PtpConfig
impl RefUnwindSafe for PtpConfig
impl Send for PtpConfig
impl Sync for PtpConfig
impl Unpin for PtpConfig
impl UnsafeUnpin for PtpConfig
impl UnwindSafe for PtpConfig
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