pub struct PruneRefusal {
pub artifact_id: Option<ArtifactId>,
pub worktree_path: Option<PathBuf>,
pub reason: String,
}Expand description
One artifact or worktree that was considered but refused for pruning.
Fields§
§artifact_id: Option<ArtifactId>Artifact protected from deletion, when applicable.
worktree_path: Option<PathBuf>Worktree protected from deletion, when applicable.
reason: StringHuman-readable refusal reason.
Trait Implementations§
Source§impl Clone for PruneRefusal
impl Clone for PruneRefusal
Source§fn clone(&self) -> PruneRefusal
fn clone(&self) -> PruneRefusal
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 PruneRefusal
impl Debug for PruneRefusal
Source§impl<'de> Deserialize<'de> for PruneRefusal
impl<'de> Deserialize<'de> for PruneRefusal
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 PruneRefusal
Source§impl PartialEq for PruneRefusal
impl PartialEq for PruneRefusal
Source§fn eq(&self, other: &PruneRefusal) -> bool
fn eq(&self, other: &PruneRefusal) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PruneRefusal
impl Serialize for PruneRefusal
impl StructuralPartialEq for PruneRefusal
Auto Trait Implementations§
impl Freeze for PruneRefusal
impl RefUnwindSafe for PruneRefusal
impl Send for PruneRefusal
impl Sync for PruneRefusal
impl Unpin for PruneRefusal
impl UnsafeUnpin for PruneRefusal
impl UnwindSafe for PruneRefusal
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