pub struct RecoverInput {
pub task: Option<String>,
pub activate_here: bool,
pub workspace: Option<NativePath>,
pub undo: bool,
pub yes: bool,
pub force: bool,
}Expand description
Select a task or the workspace and specify the authorized recovery direction.
Fields§
§task: Option<String>Resume a named task operation. Omit for workspace location recovery.
activate_here: boolUse the verified worktrees in this workspace when multiple copies exist.
workspace: Option<NativePath>Explicit workspace directory containing .workyard.
undo: boolResume in the restoration direction.
yes: boolAccept routine confirmation.
force: boolAuthorize the disclosed discard and accept routine confirmation.
Trait Implementations§
Source§impl Default for RecoverInput
impl Default for RecoverInput
Source§impl<'de> Deserialize<'de> for RecoverInput
impl<'de> Deserialize<'de> for RecoverInput
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
Source§impl JsonSchema for RecoverInput
impl JsonSchema for RecoverInput
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Forget for RecoverInput
impl Freeze for RecoverInput
impl Move for RecoverInput
impl RefUnwindSafe for RecoverInput
impl Send for RecoverInput
impl Sync for RecoverInput
impl Unpin for RecoverInput
impl UnsafeUnpin for RecoverInput
impl UnwindSafe for RecoverInput
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