Skip to main content

CloneIntoOutcome

Struct CloneIntoOutcome 

Source
pub struct CloneIntoOutcome {
    pub head: CloneHead,
    pub checkout_oid: ObjectId,
    pub checkout: CloneCheckout,
    pub transfer: TransferStats,
    pub branches: u64,
    pub tags: u64,
    pub files: u64,
    pub worktree_bytes: u64,
    pub path_collisions: Vec<String>,
    pub submodule_paths: Vec<String>,
    pub bundle: BundleSeed,
    pub filter_sent: bool,
}
Expand description

Result of clone_into.

Fields§

§head: CloneHead

Branch checked out, or detached tag checkout.

§checkout_oid: ObjectId

Commit checked out on that branch.

§checkout: CloneCheckout

Checkout disposition after fetch.

§transfer: TransferStats

Objects received during the fetch.

§branches: u64

Remote branches fetched.

§tags: u64

Remote tags fetched.

§files: u64

Working-tree files checked out.

§worktree_bytes: u64

Checked-out file bytes.

§path_collisions: Vec<String>

Case-collision paths during checkout.

§submodule_paths: Vec<String>

Submodule gitlink paths materialized at checkout.

§bundle: BundleSeed

Whether a bundle-uri seed ran.

§filter_sent: bool

Whether a partial-clone filter was applied by the server.

Trait Implementations§

Source§

impl Debug for CloneIntoOutcome

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.