pub struct Role {Show 31 fields
pub id: Option<String>,
pub name: Option<String>,
pub perm_add: Option<bool>,
pub perm_modify: Option<bool>,
pub perm_modify_org: Option<bool>,
pub perm_publish: Option<bool>,
pub perm_delegate: Option<bool>,
pub perm_sync: Option<bool>,
pub perm_admin: Option<bool>,
pub perm_audit: Option<bool>,
pub perm_auth: Option<bool>,
pub perm_site_admin: Option<bool>,
pub perm_regexp_access: Option<bool>,
pub perm_tagger: Option<bool>,
pub perm_template: Option<bool>,
pub perm_sharing_group: Option<bool>,
pub perm_tag_editor: Option<bool>,
pub perm_sighting: Option<bool>,
pub perm_object_template: Option<bool>,
pub perm_publish_zmq: Option<bool>,
pub perm_publish_kafka: Option<bool>,
pub perm_decaying: Option<bool>,
pub perm_galaxy_editor: Option<bool>,
pub default_role: Option<bool>,
pub memory_limit: Option<Option<String>>,
pub max_execution_time: Option<Option<String>>,
pub restricted_to_site_admin: Option<bool>,
pub enforce_rate_limit: Option<bool>,
pub rate_limit_count: Option<String>,
pub permission: Option<String>,
pub permission_description: Option<String>,
}
Fields§
§id: Option<String>
§name: Option<String>
§perm_add: Option<bool>
§perm_modify: Option<bool>
§perm_modify_org: Option<bool>
§perm_publish: Option<bool>
§perm_delegate: Option<bool>
§perm_sync: Option<bool>
§perm_admin: Option<bool>
§perm_audit: Option<bool>
§perm_auth: Option<bool>
§perm_site_admin: Option<bool>
§perm_regexp_access: Option<bool>
§perm_tagger: Option<bool>
§perm_template: Option<bool>
§perm_sharing_group: Option<bool>
§perm_tag_editor: Option<bool>
§perm_sighting: Option<bool>
§perm_object_template: Option<bool>
§perm_publish_zmq: Option<bool>
§perm_publish_kafka: Option<bool>
§perm_decaying: Option<bool>
§perm_galaxy_editor: Option<bool>
§default_role: Option<bool>
§memory_limit: Option<Option<String>>
§max_execution_time: Option<Option<String>>
§restricted_to_site_admin: Option<bool>
§enforce_rate_limit: Option<bool>
§rate_limit_count: Option<String>
§permission: Option<String>
§permission_description: Option<String>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Role
impl<'de> Deserialize<'de> for Role
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
impl StructuralPartialEq for Role
Auto Trait Implementations§
impl Freeze for Role
impl RefUnwindSafe for Role
impl Send for Role
impl Sync for Role
impl Unpin for Role
impl UnwindSafe for Role
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