pub struct UndoArgs {
pub job_id: String,
pub file: Option<String>,
}Expand description
Input parameters for Undo::execute.
Fields§
§job_id: StringJob ID to undo (restores backup from that job).
file: Option<String>Optional: specific file to restore (if job modified multiple).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UndoArgs
impl<'de> Deserialize<'de> for UndoArgs
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for UndoArgs
impl RefUnwindSafe for UndoArgs
impl Send for UndoArgs
impl Sync for UndoArgs
impl Unpin for UndoArgs
impl UnsafeUnpin for UndoArgs
impl UnwindSafe for UndoArgs
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