pub struct EventOdGroupAdd<'a> { /* private fields */ }
Available on crate feature
macos_14_0_0
and macOS only.Expand description
Notification that a member was added to a group.
This event does not indicate that a member was actually added. For example when adding a user to a group they are already a member of.
Implementations§
Source§impl<'a> EventOdGroupAdd<'a>
impl<'a> EventOdGroupAdd<'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 group_name(&self) -> &'a OsStr
pub fn group_name(&self) -> &'a OsStr
The group to which the member was added.
Sourcepub fn member(&self) -> OdMemberId<'a>
pub fn member(&self) -> OdMemberId<'a>
The identity of the member added.
Trait Implementations§
Source§impl<'a> Debug for EventOdGroupAdd<'a>
impl<'a> Debug for EventOdGroupAdd<'a>
Source§impl<'a> Hash for EventOdGroupAdd<'a>
impl<'a> Hash for EventOdGroupAdd<'a>
Source§impl<'a> PartialEq for EventOdGroupAdd<'a>
impl<'a> PartialEq for EventOdGroupAdd<'a>
impl<'a> Eq for EventOdGroupAdd<'a>
impl Send for EventOdGroupAdd<'_>
impl Sync for EventOdGroupAdd<'_>
Auto Trait Implementations§
impl<'a> Freeze for EventOdGroupAdd<'a>
impl<'a> RefUnwindSafe for EventOdGroupAdd<'a>
impl<'a> Unpin for EventOdGroupAdd<'a>
impl<'a> UnwindSafe for EventOdGroupAdd<'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