pub struct UpdateRole {Show 16 fields
pub analytics_access: Option<String>,
pub audit_access: Option<String>,
pub delete_protection: Option<String>,
pub description: Option<String>,
pub event_center_access: Option<String>,
pub event_forwarder_access: Option<String>,
pub gw_analytics_access: Option<String>,
pub json: Option<bool>,
pub name: String,
pub new_comment: Option<String>,
pub new_name: Option<String>,
pub reverse_rbac_access: Option<String>,
pub sra_reports_access: Option<String>,
pub token: Option<String>,
pub uid_token: Option<String>,
pub usage_reports_access: Option<String>,
}Fields§
§analytics_access: Option<String>Allow this role to view analytics. Currently only ‘none’, ‘own’, ‘all’ values are supported, allowing associated auth methods to view reports produced by the same auth methods.
audit_access: Option<String>Allow this role to view audit logs. Currently only ‘none’, ‘own’, ‘scoped’ and ‘all’ values are supported, allowing associated auth methods to view audit logs produced by the same auth methods.
delete_protection: Option<String>Protection from accidental deletion of this object [true/false]
description: Option<String>Description of the object
event_center_access: Option<String>Allow this role to view Event Center. Currently only ‘none’, ‘scoped’ and ‘all’ values are supported
event_forwarder_access: Option<String>Allow this role to manage Event Forwarders. Currently only ‘none’ and ‘all’ values are supported.
gw_analytics_access: Option<String>Allow this role to view gw analytics. Currently only ‘none’, ‘scoped’, ‘all’ values are supported, allowing associated auth methods to view reports produced by the same auth methods.
json: Option<bool>Set output format to JSON
name: StringRole name
new_comment: Option<String>Deprecated - use description
new_name: Option<String>New Role name
reverse_rbac_access: Option<String>Allow this role to view Reverse RBAC. Supported values: ‘scoped’, ‘all’.
sra_reports_access: Option<String>Allow this role to view SRA Clusters. Currently only ‘none’, ‘scoped’, ‘all’ values are supported.
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
usage_reports_access: Option<String>Allow this role to view Usage Report. Currently only ‘none’ and ‘all’ values are supported.
Implementations§
Source§impl UpdateRole
impl UpdateRole
pub fn new(name: String) -> UpdateRole
Trait Implementations§
Source§impl Clone for UpdateRole
impl Clone for UpdateRole
Source§fn clone(&self) -> UpdateRole
fn clone(&self) -> UpdateRole
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for UpdateRole
impl Debug for UpdateRole
Source§impl Default for UpdateRole
impl Default for UpdateRole
Source§fn default() -> UpdateRole
fn default() -> UpdateRole
Source§impl<'de> Deserialize<'de> for UpdateRole
impl<'de> Deserialize<'de> for UpdateRole
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>,
Source§impl PartialEq for UpdateRole
impl PartialEq for UpdateRole
Source§fn eq(&self, other: &UpdateRole) -> bool
fn eq(&self, other: &UpdateRole) -> bool
self and other values to be equal, and is used by ==.