#[repr(C)]pub struct es_event_setowner_t {
pub uid: uid_t,
pub gid: gid_t,
pub target: ShouldNotBeNull<es_file_t>,
/* private fields */
}Available on macOS only.
Expand description
Modify file owner information
The uid and gid members are the desired new values. The target member’s stat
information contains the current uid and gid values.
Cache key for this event type: (process executable file, target file).
Fields§
§uid: uid_tThe desired new UID
gid: gid_tThe desired new GID
target: ShouldNotBeNull<es_file_t>The file for which owner information will be modified
Implementations§
Source§impl es_event_setowner_t
Accessors for ShouldNotBeNull fields
impl es_event_setowner_t
Accessors for ShouldNotBeNull fields
Sourcepub unsafe fn target(&self) -> &es_file_t
pub unsafe fn target(&self) -> &es_file_t
Gives a references to the field while checking for null.
§Safety
See ShouldNotBeNull safety requirements.
Auto Trait Implementations§
impl Freeze for es_event_setowner_t
impl RefUnwindSafe for es_event_setowner_t
impl !Send for es_event_setowner_t
impl !Sync for es_event_setowner_t
impl Unpin for es_event_setowner_t
impl UnwindSafe for es_event_setowner_t
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