pub struct RenameResult {
pub output: CommandOutput,
pub old_name: String,
pub new_name: String,
}
Expand description
Result from the rename command
Fields§
§output: CommandOutput
Raw command output
old_name: String
Original container name
new_name: String
New container name
Implementations§
Trait Implementations§
Source§impl Clone for RenameResult
impl Clone for RenameResult
Source§fn clone(&self) -> RenameResult
fn clone(&self) -> RenameResult
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 RenameResult
impl RefUnwindSafe for RenameResult
impl Send for RenameResult
impl Sync for RenameResult
impl Unpin for RenameResult
impl UnwindSafe for RenameResult
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