#[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
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) -> &[String]
pub fn principals(&self) -> &[String]
An array of Amazon Resource Names (ARNs) for Amazon QuickSight users or groups.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .principals.is_none().
sourcepub fn column_names(&self) -> &[String]
pub fn column_names(&self) -> &[String]
An array of column names.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .column_names.is_none().
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ColumnLevelPermissionRule
impl Debug for ColumnLevelPermissionRule
source§impl PartialEq for ColumnLevelPermissionRule
impl PartialEq for ColumnLevelPermissionRule
source§fn eq(&self, other: &ColumnLevelPermissionRule) -> bool
fn eq(&self, other: &ColumnLevelPermissionRule) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ColumnLevelPermissionRule
Auto Trait Implementations§
impl Freeze for ColumnLevelPermissionRule
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more