pub struct EventOdAttributeValueRemove<'a> { /* private fields */ }
Available on crate feature
macos_14_0_0
and macOS only.Expand description
Notification that an attribute value was removed to a record.
Attributes conceptually have the type Map String (Set String)
.
Each OD record has a Map of attribute name to Set of attribute value.
When an attribute value is removed, it is inserted into the set of values for that name.
Removing a value that was never added is a no-op.
Implementations§
Source§impl<'a> EventOdAttributeValueRemove<'a>
impl<'a> EventOdAttributeValueRemove<'a>
Sourcepub fn instigator(&self) -> Process<'a>
pub fn instigator(&self) -> Process<'a>
Process that instigated operation (XPC caller).
Sourcepub fn error_code(&self) -> i32
pub fn error_code(&self) -> i32
Result code for the operation.
Sourcepub fn record_type(&self) -> es_od_record_type_t
pub fn record_type(&self) -> es_od_record_type_t
The type of the record to which the attribute value was removed.
Sourcepub fn record_name(&self) -> &'a OsStr
pub fn record_name(&self) -> &'a OsStr
The name of the record to which the attribute value was removed.
Sourcepub fn attribute_name(&self) -> &'a OsStr
pub fn attribute_name(&self) -> &'a OsStr
The name of the attribute to which the value was removed.
Sourcepub fn attribute_value(&self) -> &'a OsStr
pub fn attribute_value(&self) -> &'a OsStr
The value that was removed.
Trait Implementations§
Source§impl<'a> Debug for EventOdAttributeValueRemove<'a>
impl<'a> Debug for EventOdAttributeValueRemove<'a>
Source§impl<'a> Hash for EventOdAttributeValueRemove<'a>
impl<'a> Hash for EventOdAttributeValueRemove<'a>
Source§impl<'a> PartialEq for EventOdAttributeValueRemove<'a>
impl<'a> PartialEq for EventOdAttributeValueRemove<'a>
impl<'a> Eq for EventOdAttributeValueRemove<'a>
impl Send for EventOdAttributeValueRemove<'_>
impl Sync for EventOdAttributeValueRemove<'_>
Auto Trait Implementations§
impl<'a> Freeze for EventOdAttributeValueRemove<'a>
impl<'a> RefUnwindSafe for EventOdAttributeValueRemove<'a>
impl<'a> Unpin for EventOdAttributeValueRemove<'a>
impl<'a> UnwindSafe for EventOdAttributeValueRemove<'a>
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