#[repr(C)]pub struct sudoers_group_plugin {
pub version: c_uint,
pub init: Option<unsafe extern "C" fn(version: c_int, sudo_printf: sudo_printf_t, argv: *const *mut c_char) -> c_int>,
pub cleanup: Option<unsafe extern "C" fn()>,
pub query: Option<unsafe extern "C" fn(user: *const c_char, group: *const c_char, pwd: *const passwd) -> c_int>,
}
Fields§
§version: c_uint
§init: Option<unsafe extern "C" fn(version: c_int, sudo_printf: sudo_printf_t, argv: *const *mut c_char) -> c_int>
§cleanup: Option<unsafe extern "C" fn()>
§query: Option<unsafe extern "C" fn(user: *const c_char, group: *const c_char, pwd: *const passwd) -> c_int>
Trait Implementations§
Source§impl Clone for sudoers_group_plugin
impl Clone for sudoers_group_plugin
Source§fn clone(&self) -> sudoers_group_plugin
fn clone(&self) -> sudoers_group_plugin
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for sudoers_group_plugin
impl Debug for sudoers_group_plugin
impl Copy for sudoers_group_plugin
Auto Trait Implementations§
impl Freeze for sudoers_group_plugin
impl RefUnwindSafe for sudoers_group_plugin
impl Send for sudoers_group_plugin
impl Sync for sudoers_group_plugin
impl Unpin for sudoers_group_plugin
impl UnwindSafe for sudoers_group_plugin
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