pub struct RawSerialConfig {
pub log_path: String,
}Expand description
Raw /serial PUT body off the wire.
Fields§
§log_path: StringPath of the file or named pipe receiving serial output.
Trait Implementations§
Source§impl Clone for RawSerialConfig
impl Clone for RawSerialConfig
Source§fn clone(&self) -> RawSerialConfig
fn clone(&self) -> RawSerialConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RawSerialConfig
impl Debug for RawSerialConfig
Source§impl<'de> Deserialize<'de> for RawSerialConfig
impl<'de> Deserialize<'de> for RawSerialConfig
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 TryFrom<RawSerialConfig> for SerialConfig
impl TryFrom<RawSerialConfig> for SerialConfig
Auto Trait Implementations§
impl Freeze for RawSerialConfig
impl RefUnwindSafe for RawSerialConfig
impl Send for RawSerialConfig
impl Sync for RawSerialConfig
impl Unpin for RawSerialConfig
impl UnsafeUnpin for RawSerialConfig
impl UnwindSafe for RawSerialConfig
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