pub struct RepositoryTransferPlan<T = PlannedObject> {
pub partitions: TransferPartitions<T>,
pub stats: TransferPlanStats,
pub git_lane: GitLaneTransferIntent,
}Fields§
§partitions: TransferPartitions<T>§stats: TransferPlanStats§git_lane: GitLaneTransferIntentImplementations§
Source§impl RepositoryTransferPlan<PlannedObject>
impl RepositoryTransferPlan<PlannedObject>
pub fn from_state_closure_plan( store: &impl ObjectStore, root: ChangeId, options: StateClosureOptions, git_lane: GitLaneTransferIntent, ) -> Result<Self>
pub fn from_planned_objects( objects: impl IntoIterator<Item = PlannedObject>, git_lane: GitLaneTransferIntent, ) -> Self
Source§impl RepositoryTransferPlan<ObjectInfo>
impl RepositoryTransferPlan<ObjectInfo>
pub fn from_object_infos( objects: impl IntoIterator<Item = ObjectInfo>, git_lane: GitLaneTransferIntent, ) -> Self
Source§impl<T> RepositoryTransferPlan<T>
impl<T> RepositoryTransferPlan<T>
pub fn requires_native_pack(&self, include_full_closure: bool) -> bool
pub fn is_heddle_only(&self) -> bool
Trait Implementations§
Source§impl<T: Clone> Clone for RepositoryTransferPlan<T>
impl<T: Clone> Clone for RepositoryTransferPlan<T>
Source§fn clone(&self) -> RepositoryTransferPlan<T>
fn clone(&self) -> RepositoryTransferPlan<T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T: Debug> Debug for RepositoryTransferPlan<T>
impl<T: Debug> Debug for RepositoryTransferPlan<T>
impl<T: Eq> Eq for RepositoryTransferPlan<T>
Source§impl<T: PartialEq> PartialEq for RepositoryTransferPlan<T>
impl<T: PartialEq> PartialEq for RepositoryTransferPlan<T>
Source§fn eq(&self, other: &RepositoryTransferPlan<T>) -> bool
fn eq(&self, other: &RepositoryTransferPlan<T>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<T: PartialEq> StructuralPartialEq for RepositoryTransferPlan<T>
Auto Trait Implementations§
impl<T> Freeze for RepositoryTransferPlan<T>
impl<T> RefUnwindSafe for RepositoryTransferPlan<T>where
T: RefUnwindSafe,
impl<T> Send for RepositoryTransferPlan<T>where
T: Send,
impl<T> Sync for RepositoryTransferPlan<T>where
T: Sync,
impl<T> Unpin for RepositoryTransferPlan<T>where
T: Unpin,
impl<T> UnsafeUnpin for RepositoryTransferPlan<T>
impl<T> UnwindSafe for RepositoryTransferPlan<T>where
T: UnwindSafe,
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