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