pub struct PackExclusion {
pub ref_id: Option<ContextRefId>,
pub ref_kind: String,
pub reason: ExclusionReason,
pub rationale: String,
}Expand description
Explicit exclusion recorded on the pack.
Fields§
§ref_id: Option<ContextRefId>Excluded ref when policy permits recording the identifier.
ref_kind: StringRef kind retained even when the identifier is redacted.
reason: ExclusionReasonWhy this ref was excluded.
rationale: StringHuman-readable rationale.
Trait Implementations§
Source§impl Clone for PackExclusion
impl Clone for PackExclusion
Source§fn clone(&self) -> PackExclusion
fn clone(&self) -> PackExclusion
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 PackExclusion
impl Debug for PackExclusion
Source§impl<'de> Deserialize<'de> for PackExclusion
impl<'de> Deserialize<'de> for PackExclusion
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
Source§impl PartialEq for PackExclusion
impl PartialEq for PackExclusion
Source§fn eq(&self, other: &PackExclusion) -> bool
fn eq(&self, other: &PackExclusion) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PackExclusion
impl Serialize for PackExclusion
impl Eq for PackExclusion
impl StructuralPartialEq for PackExclusion
Auto Trait Implementations§
impl Freeze for PackExclusion
impl RefUnwindSafe for PackExclusion
impl Send for PackExclusion
impl Sync for PackExclusion
impl Unpin for PackExclusion
impl UnsafeUnpin for PackExclusion
impl UnwindSafe for PackExclusion
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