#[non_exhaustive]pub struct ColumnLevelPermissionRule {
pub principals: Option<Vec<String>>,
pub column_names: Option<Vec<String>>,
}Expand description
A rule defined to grant access on one or more restricted columns. Each dataset can have multiple rules. To create a restricted column, you add it to one or more rules. Each rule must contain at least one column and at least one user or group. To be able to see a restricted column, a user or group needs to be added to a rule for that column.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.principals: Option<Vec<String>>An array of Amazon Resource Names (ARNs) for Amazon QuickSight users or groups.
column_names: Option<Vec<String>>An array of column names.
Implementations§
source§impl ColumnLevelPermissionRule
impl ColumnLevelPermissionRule
sourcepub fn principals(&self) -> Option<&[String]>
pub fn principals(&self) -> Option<&[String]>
An array of Amazon Resource Names (ARNs) for Amazon QuickSight users or groups.
sourcepub fn column_names(&self) -> Option<&[String]>
pub fn column_names(&self) -> Option<&[String]>
An array of column names.
source§impl ColumnLevelPermissionRule
impl ColumnLevelPermissionRule
sourcepub fn builder() -> ColumnLevelPermissionRuleBuilder
pub fn builder() -> ColumnLevelPermissionRuleBuilder
Creates a new builder-style object to manufacture ColumnLevelPermissionRule.
Trait Implementations§
source§impl Clone for ColumnLevelPermissionRule
impl Clone for ColumnLevelPermissionRule
source§fn clone(&self) -> ColumnLevelPermissionRule
fn clone(&self) -> ColumnLevelPermissionRule
Returns a copy of the value. Read more
1.0.0 · 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 ColumnLevelPermissionRule
impl Debug for ColumnLevelPermissionRule
source§impl PartialEq<ColumnLevelPermissionRule> for ColumnLevelPermissionRule
impl PartialEq<ColumnLevelPermissionRule> for ColumnLevelPermissionRule
source§fn eq(&self, other: &ColumnLevelPermissionRule) -> bool
fn eq(&self, other: &ColumnLevelPermissionRule) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ColumnLevelPermissionRule
Auto Trait Implementations§
impl RefUnwindSafe for ColumnLevelPermissionRule
impl Send for ColumnLevelPermissionRule
impl Sync for ColumnLevelPermissionRule
impl Unpin for ColumnLevelPermissionRule
impl UnwindSafe for ColumnLevelPermissionRule
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