pub struct CpResult {
pub output: CommandOutput,
pub source: String,
pub destination: String,
}
Expand description
Result from the cp command
Fields§
§output: CommandOutput
Raw command output
source: String
Source path that was copied
destination: String
Destination path
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CpResult
impl RefUnwindSafe for CpResult
impl Send for CpResult
impl Sync for CpResult
impl Unpin for CpResult
impl UnwindSafe for CpResult
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