pub struct CreateRequest {
pub task: String,
pub repositories: Vec<RepositoryInput>,
pub tasks_root: PathBuf,
pub state_dir: PathBuf,
pub checkout: bool,
pub no_fetch: bool,
pub remote: Option<String>,
pub from: Option<String>,
}Expand description
Resolved workspace placement, participants and branch options for task creation.
Fields§
§task: StringTask selected for this operation.
repositories: Vec<RepositoryInput>Backing repositories selected for membership.
tasks_root: PathBufDirectory containing the task workspaces.
state_dir: PathBufDirectory holding authoritative Workyard state.
checkout: boolAllow reuse of an existing target branch.
no_fetch: boolUse locally available refs without fetching.
remote: Option<String>Remote selected for branch resolution or fetch.
from: Option<String>Starting revision for a newly created branch.
Trait Implementations§
Source§impl Clone for CreateRequest
impl Clone for CreateRequest
Auto Trait Implementations§
impl Forget for CreateRequest
impl Freeze for CreateRequest
impl Move for CreateRequest
impl RefUnwindSafe for CreateRequest
impl Send for CreateRequest
impl Sync for CreateRequest
impl Unpin for CreateRequest
impl UnsafeUnpin for CreateRequest
impl UnwindSafe for CreateRequest
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