pub struct AmendInput {
pub task: String,
pub projects: Vec<NativePath>,
pub repositories: Vec<RepositoryInput>,
pub remove: Vec<String>,
pub yes: bool,
pub force: bool,
pub workspace: Option<NativePath>,
pub checkout: bool,
pub no_fetch: bool,
pub remote: Option<String>,
pub from: Option<String>,
}Expand description
Task, project selections and consent options for changing membership.
Fields§
§task: StringTask selected for this operation.
projects: Vec<NativePath>Tracked project references or explicit repository paths.
repositories: Vec<RepositoryInput>Backing repositories selected for membership.
remove: Vec<String>Task participant names to remove. Repeat to remove several in one amendment.
yes: boolSkip confirmation when removing clean participants.
force: boolDiscard disclosed changes in the selected worktrees and skip confirmation.
workspace: Option<NativePath>Explicit workspace directory containing .workyard.
checkout: boolReuse an existing target branch when available.
no_fetch: boolSkip fetching from remotes.
remote: Option<String>Default remote for the supplied repositories.
from: Option<String>Starting reference for new branches.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AmendInput
impl<'de> Deserialize<'de> for AmendInput
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 AmendInput
impl JsonSchema for AmendInput
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 AmendInput
impl Freeze for AmendInput
impl Move for AmendInput
impl RefUnwindSafe for AmendInput
impl Send for AmendInput
impl Sync for AmendInput
impl Unpin for AmendInput
impl UnsafeUnpin for AmendInput
impl UnwindSafe for AmendInput
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