pub struct ConsolePortSpeed {
pub value: Option<Value>,
pub label: Option<Label>,
}Fields§
§value: Option<Value>1200- 1200 bps *2400- 2400 bps *4800- 4800 bps *9600- 9600 bps *19200- 19.2 kbps *38400- 38.4 kbps *57600- 57.6 kbps *115200- 115.2 kbps
label: Option<Label>Implementations§
Source§impl ConsolePortSpeed
impl ConsolePortSpeed
pub fn new() -> ConsolePortSpeed
Trait Implementations§
Source§impl Clone for ConsolePortSpeed
impl Clone for ConsolePortSpeed
Source§fn clone(&self) -> ConsolePortSpeed
fn clone(&self) -> ConsolePortSpeed
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 ConsolePortSpeed
impl Debug for ConsolePortSpeed
Source§impl Default for ConsolePortSpeed
impl Default for ConsolePortSpeed
Source§fn default() -> ConsolePortSpeed
fn default() -> ConsolePortSpeed
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConsolePortSpeed
impl<'de> Deserialize<'de> for ConsolePortSpeed
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 ConsolePortSpeed
impl PartialEq for ConsolePortSpeed
Source§impl Serialize for ConsolePortSpeed
impl Serialize for ConsolePortSpeed
impl StructuralPartialEq for ConsolePortSpeed
Auto Trait Implementations§
impl Freeze for ConsolePortSpeed
impl RefUnwindSafe for ConsolePortSpeed
impl Send for ConsolePortSpeed
impl Sync for ConsolePortSpeed
impl Unpin for ConsolePortSpeed
impl UnwindSafe for ConsolePortSpeed
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