pub struct CustomAttributeDiff {
pub name: String,
pub op: CustomAttributeOp,
pub hints: Vec<String>,
}Fields§
§name: String§op: CustomAttributeOp§hints: Vec<String>Non-actionable notes surfaced in diff output (e.g. “description also differs”, “type is stale”). These do NOT count as changes.
Implementations§
Source§impl CustomAttributeDiff
impl CustomAttributeDiff
pub fn has_changes(&self) -> bool
Sourcepub fn is_actionable(&self) -> bool
pub fn is_actionable(&self) -> bool
Whether apply should consider this diff actionable — i.e. it
must not be skipped by the “No changes to apply” early exit.
DeprecationToggledproduces an API call.PresentInGitOnlyis included so it reachescheck_for_unsupported_opsand produces a clear rejection error rather than being silently ignored.MetadataOnlyandUnregisteredInGitare informational drift thatapplycannot resolve (the fix isexport, notapply).
Trait Implementations§
Source§impl Clone for CustomAttributeDiff
impl Clone for CustomAttributeDiff
Source§fn clone(&self) -> CustomAttributeDiff
fn clone(&self) -> CustomAttributeDiff
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CustomAttributeDiff
impl RefUnwindSafe for CustomAttributeDiff
impl Send for CustomAttributeDiff
impl Sync for CustomAttributeDiff
impl Unpin for CustomAttributeDiff
impl UnsafeUnpin for CustomAttributeDiff
impl UnwindSafe for CustomAttributeDiff
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