pub struct PruneWorktreeCandidate {
pub path: PathBuf,
pub reclaimable_bytes: u64,
pub locked: bool,
pub reason: String,
}Expand description
One managed worktree candidate returned by daemon/pruneRevisions.
Fields§
§path: PathBufManaged worktree path.
reclaimable_bytes: u64Bytes reclaimable if this worktree directory is removed.
locked: boolWhether Git currently marks this worktree as locked.
reason: StringHuman-readable reason.
Trait Implementations§
Source§impl Clone for PruneWorktreeCandidate
impl Clone for PruneWorktreeCandidate
Source§fn clone(&self) -> PruneWorktreeCandidate
fn clone(&self) -> PruneWorktreeCandidate
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 Debug for PruneWorktreeCandidate
impl Debug for PruneWorktreeCandidate
Source§impl<'de> Deserialize<'de> for PruneWorktreeCandidate
impl<'de> Deserialize<'de> for PruneWorktreeCandidate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PruneWorktreeCandidate
Source§impl PartialEq for PruneWorktreeCandidate
impl PartialEq for PruneWorktreeCandidate
Source§fn eq(&self, other: &PruneWorktreeCandidate) -> bool
fn eq(&self, other: &PruneWorktreeCandidate) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PruneWorktreeCandidate
impl Serialize for PruneWorktreeCandidate
impl StructuralPartialEq for PruneWorktreeCandidate
Auto Trait Implementations§
impl Freeze for PruneWorktreeCandidate
impl RefUnwindSafe for PruneWorktreeCandidate
impl Send for PruneWorktreeCandidate
impl Sync for PruneWorktreeCandidate
impl Unpin for PruneWorktreeCandidate
impl UnsafeUnpin for PruneWorktreeCandidate
impl UnwindSafe for PruneWorktreeCandidate
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