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.
Only DeprecationToggled produces an API call. Every other variant
is informational drift that apply cannot resolve, including
PresentInGitOnly: Braze has no creation endpoint for custom
attributes (they materialize on first /users/track call), so a
registry entry that isn’t in Braze yet is normal — and must not
block apply of unrelated resources.
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 (const: unstable) · 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