pub struct DeleteRoleRule {
pub json: Option<bool>,
pub path: String,
pub role_name: String,
pub rule_type: Option<String>,
pub token: Option<String>,
pub uid_token: Option<String>,
}Fields§
§json: Option<bool>Set output format to JSON
path: StringThe path the rule refers to
role_name: StringThe role name to be updated
rule_type: Option<String>item-rule, role-rule, auth-method-rule, search-rule, reports-rule, gw-reports-rule or sra-reports-rule
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
Implementations§
Source§impl DeleteRoleRule
impl DeleteRoleRule
pub fn new(path: String, role_name: String) -> DeleteRoleRule
Trait Implementations§
Source§impl Clone for DeleteRoleRule
impl Clone for DeleteRoleRule
Source§fn clone(&self) -> DeleteRoleRule
fn clone(&self) -> DeleteRoleRule
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DeleteRoleRule
impl Debug for DeleteRoleRule
Source§impl Default for DeleteRoleRule
impl Default for DeleteRoleRule
Source§fn default() -> DeleteRoleRule
fn default() -> DeleteRoleRule
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeleteRoleRule
impl<'de> Deserialize<'de> for DeleteRoleRule
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 DeleteRoleRule
impl PartialEq for DeleteRoleRule
Source§fn eq(&self, other: &DeleteRoleRule) -> bool
fn eq(&self, other: &DeleteRoleRule) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DeleteRoleRule
impl Serialize for DeleteRoleRule
impl StructuralPartialEq for DeleteRoleRule
Auto Trait Implementations§
impl Freeze for DeleteRoleRule
impl RefUnwindSafe for DeleteRoleRule
impl Send for DeleteRoleRule
impl Sync for DeleteRoleRule
impl Unpin for DeleteRoleRule
impl UnsafeUnpin for DeleteRoleRule
impl UnwindSafe for DeleteRoleRule
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