pub struct Permissions {
pub access_event_logs: Option<bool>,
pub access_import_export: Option<bool>,
pub access_reports: Option<bool>,
pub create_new_collections: Option<bool>,
pub edit_any_collection: Option<bool>,
pub delete_any_collection: Option<bool>,
pub manage_groups: Option<bool>,
pub manage_policies: Option<bool>,
pub manage_sso: Option<bool>,
pub manage_users: Option<bool>,
pub manage_reset_password: Option<bool>,
pub manage_scim: Option<bool>,
}
Fields§
§access_event_logs: Option<bool>
§access_import_export: Option<bool>
§access_reports: Option<bool>
§create_new_collections: Option<bool>
§edit_any_collection: Option<bool>
§delete_any_collection: Option<bool>
§manage_groups: Option<bool>
§manage_policies: Option<bool>
§manage_sso: Option<bool>
§manage_users: Option<bool>
§manage_reset_password: Option<bool>
§manage_scim: Option<bool>
Implementations§
Source§impl Permissions
impl Permissions
pub fn new() -> Permissions
Trait Implementations§
Source§impl Clone for Permissions
impl Clone for Permissions
Source§fn clone(&self) -> Permissions
fn clone(&self) -> Permissions
Returns a copy 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 Permissions
impl Debug for Permissions
Source§impl Default for Permissions
impl Default for Permissions
Source§fn default() -> Permissions
fn default() -> Permissions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Permissions
impl<'de> Deserialize<'de> for Permissions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for Permissions
impl PartialEq for Permissions
Source§impl Serialize for Permissions
impl Serialize for Permissions
impl StructuralPartialEq for Permissions
Auto Trait Implementations§
impl Freeze for Permissions
impl RefUnwindSafe for Permissions
impl Send for Permissions
impl Sync for Permissions
impl Unpin for Permissions
impl UnwindSafe for Permissions
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