pub struct PreparedSyncWorkspace {Show 17 fields
pub workspace: WorkspaceConfig,
pub auth: AuthResult,
pub repos: Vec<OwnedRepo>,
pub used_cache: bool,
pub cache_age_secs: Option<u64>,
pub base_path: PathBuf,
pub structure: String,
pub provider_name: String,
pub provider_prefer_ssh: bool,
pub skip_uncommitted: bool,
pub sync_mode: SyncMode,
pub requested_concurrency: usize,
pub effective_concurrency: usize,
pub plan: ActionPlan,
pub to_sync: Vec<LocalRepo>,
pub skipped_sync: Vec<(OwnedRepo, String)>,
pub clone_options: CloneOptions,
}Expand description
Prepared sync workflow context.
Fields§
§workspace: WorkspaceConfig§auth: AuthResult§repos: Vec<OwnedRepo>§used_cache: bool§cache_age_secs: Option<u64>§base_path: PathBuf§structure: String§provider_name: String§provider_prefer_ssh: bool§skip_uncommitted: bool§sync_mode: SyncMode§requested_concurrency: usize§effective_concurrency: usize§plan: ActionPlan§to_sync: Vec<LocalRepo>§skipped_sync: Vec<(OwnedRepo, String)>§clone_options: CloneOptionsAuto Trait Implementations§
impl Freeze for PreparedSyncWorkspace
impl RefUnwindSafe for PreparedSyncWorkspace
impl Send for PreparedSyncWorkspace
impl Sync for PreparedSyncWorkspace
impl Unpin for PreparedSyncWorkspace
impl UnsafeUnpin for PreparedSyncWorkspace
impl UnwindSafe for PreparedSyncWorkspace
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more