pub struct ConsolePortInfo {
pub console: bool,
pub name: Option<String>,
}Expand description
Each port info for multi-port virtio-console
Fields§
§console: bool§name: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for ConsolePortInfo
impl Clone for ConsolePortInfo
Source§fn clone(&self) -> ConsolePortInfo
fn clone(&self) -> ConsolePortInfo
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for ConsolePortInfo
impl RefUnwindSafe for ConsolePortInfo
impl Send for ConsolePortInfo
impl Sync for ConsolePortInfo
impl Unpin for ConsolePortInfo
impl UnwindSafe for ConsolePortInfo
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