pub struct WorkspaceBuilder { /* private fields */ }Expand description
A builder for a workspace
Implementations§
Source§impl WorkspaceBuilder
impl WorkspaceBuilder
Sourcepub fn main_branch(self, main_branch: GenericBranch) -> Self
pub fn main_branch(self, main_branch: GenericBranch) -> Self
Set the main branch
Sourcepub fn resume_branch(self, resume_branch: GenericBranch) -> Self
pub fn resume_branch(self, resume_branch: GenericBranch) -> Self
Set the resume branch
Sourcepub fn cached_branch(self, cached_branch: GenericBranch) -> Self
pub fn cached_branch(self, cached_branch: GenericBranch) -> Self
Set the cached branch
Sourcepub fn additional_colocated_branches(
self,
additional_colocated_branches: HashMap<String, String>,
) -> Self
pub fn additional_colocated_branches( self, additional_colocated_branches: HashMap<String, String>, ) -> Self
Set the additional colocated branches
Sourcepub fn resume_branch_additional_colocated_branches(
self,
resume_branch_additional_colocated_branches: HashMap<String, String>,
) -> Self
pub fn resume_branch_additional_colocated_branches( self, resume_branch_additional_colocated_branches: HashMap<String, String>, ) -> Self
Set the additional colocated branches for the resume branch
Trait Implementations§
Source§impl Default for WorkspaceBuilder
impl Default for WorkspaceBuilder
Source§fn default() -> WorkspaceBuilder
fn default() -> WorkspaceBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WorkspaceBuilder
impl !RefUnwindSafe for WorkspaceBuilder
impl Send for WorkspaceBuilder
impl Sync for WorkspaceBuilder
impl Unpin for WorkspaceBuilder
impl UnsafeUnpin for WorkspaceBuilder
impl UnwindSafe for WorkspaceBuilder
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