pub struct RBACPolicy {
pub allow_deny: RBACPolicyAllowdeny,
pub id: String,
pub permissions: Vec<String>,
pub resources: Vec<String>,
pub role_id: String,
pub tags: RBACPolicyTags,
pub tenant_id: String,
}Expand description
RBACPolicy from the ClickHouse Cloud API.
Fields§
§allow_deny: RBACPolicyAllowdeny§id: String§permissions: Vec<String>§resources: Vec<String>§role_id: String§tenant_id: StringTrait Implementations§
Source§impl Clone for RBACPolicy
impl Clone for RBACPolicy
Source§fn clone(&self) -> RBACPolicy
fn clone(&self) -> RBACPolicy
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 RBACPolicy
impl Debug for RBACPolicy
Source§impl Default for RBACPolicy
impl Default for RBACPolicy
Source§fn default() -> RBACPolicy
fn default() -> RBACPolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RBACPolicy
impl<'de> Deserialize<'de> for RBACPolicy
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 RBACPolicy
impl PartialEq for RBACPolicy
Source§fn eq(&self, other: &RBACPolicy) -> bool
fn eq(&self, other: &RBACPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RBACPolicy
impl Serialize for RBACPolicy
impl StructuralPartialEq for RBACPolicy
Auto Trait Implementations§
impl Freeze for RBACPolicy
impl RefUnwindSafe for RBACPolicy
impl Send for RBACPolicy
impl Sync for RBACPolicy
impl Unpin for RBACPolicy
impl UnsafeUnpin for RBACPolicy
impl UnwindSafe for RBACPolicy
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