pub struct LogoutOutput {
pub output: CommandOutput,
}
Expand description
Output from a logout command execution
Contains the raw output from the Docker logout command and provides convenience methods for checking logout status.
Fields§
§output: CommandOutput
Raw output from the Docker command
Implementations§
Source§impl LogoutOutput
impl LogoutOutput
Sourcepub fn is_logged_out(&self) -> bool
pub fn is_logged_out(&self) -> bool
Returns true if the output indicates successful logout
Sourcepub fn info_messages(&self) -> Vec<&str>
pub fn info_messages(&self) -> Vec<&str>
Gets any info messages from the logout output
Trait Implementations§
Source§impl Clone for LogoutOutput
impl Clone for LogoutOutput
Source§fn clone(&self) -> LogoutOutput
fn clone(&self) -> LogoutOutput
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 moreAuto Trait Implementations§
impl Freeze for LogoutOutput
impl RefUnwindSafe for LogoutOutput
impl Send for LogoutOutput
impl Sync for LogoutOutput
impl Unpin for LogoutOutput
impl UnwindSafe for LogoutOutput
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