pub struct ReverseRbac {
pub json: Option<bool>,
pub path: String,
pub token: Option<String>,
pub type: String,
pub uid_token: Option<String>,
}Expand description
ReverseRbac : reverseRBAC is a command that shows which auth methods have access to a particular object.
Fields§
§json: Option<bool>Set output format to JSON
path: StringPath to an object
token: Option<String>Authentication token (see /auth and /configure)
type: StringType of object (item, am, role)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
Implementations§
Source§impl ReverseRbac
impl ReverseRbac
Sourcepub fn new(path: String, type: String) -> ReverseRbac
pub fn new(path: String, type: String) -> ReverseRbac
reverseRBAC is a command that shows which auth methods have access to a particular object.
Trait Implementations§
Source§impl Clone for ReverseRbac
impl Clone for ReverseRbac
Source§fn clone(&self) -> ReverseRbac
fn clone(&self) -> ReverseRbac
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 ReverseRbac
impl Debug for ReverseRbac
Source§impl Default for ReverseRbac
impl Default for ReverseRbac
Source§fn default() -> ReverseRbac
fn default() -> ReverseRbac
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReverseRbac
impl<'de> Deserialize<'de> for ReverseRbac
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 ReverseRbac
impl PartialEq for ReverseRbac
Source§fn eq(&self, other: &ReverseRbac) -> bool
fn eq(&self, other: &ReverseRbac) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ReverseRbac
impl Serialize for ReverseRbac
impl StructuralPartialEq for ReverseRbac
Auto Trait Implementations§
impl Freeze for ReverseRbac
impl RefUnwindSafe for ReverseRbac
impl Send for ReverseRbac
impl Sync for ReverseRbac
impl Unpin for ReverseRbac
impl UnsafeUnpin for ReverseRbac
impl UnwindSafe for ReverseRbac
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