pub struct CpResult {
pub output: String,
pub success: bool,
}
Expand description
Result from cp command
Fields§
§output: String
Output from the command
success: bool
Whether the operation succeeded
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