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