pub struct NetworkDisconnectResult {
pub raw_output: CommandOutput,
}
Expand description
Result from network disconnect command
Fields§
§raw_output: CommandOutput
Raw command output
Implementations§
Source§impl NetworkDisconnectResult
impl NetworkDisconnectResult
Sourcepub fn is_success(&self) -> bool
pub fn is_success(&self) -> bool
Check if the command was successful
Trait Implementations§
Source§impl Clone for NetworkDisconnectResult
impl Clone for NetworkDisconnectResult
Source§fn clone(&self) -> NetworkDisconnectResult
fn clone(&self) -> NetworkDisconnectResult
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 NetworkDisconnectResult
impl Debug for NetworkDisconnectResult
Source§impl From<CommandOutput> for NetworkDisconnectResult
impl From<CommandOutput> for NetworkDisconnectResult
Source§fn from(output: CommandOutput) -> Self
fn from(output: CommandOutput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NetworkDisconnectResult
impl RefUnwindSafe for NetworkDisconnectResult
impl Send for NetworkDisconnectResult
impl Sync for NetworkDisconnectResult
impl Unpin for NetworkDisconnectResult
impl UnwindSafe for NetworkDisconnectResult
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