pub struct ColumnPolicyProperty {
pub with: bool,
pub policy_name: ObjectName,
pub using_columns: Option<Vec<Ident>>,
}Expand description
Properties describing a column policy (masking or projection).
Fields§
§with: boolThis flag indicates that the column policy option is declared using the WITH prefix.
Example
WITH PROJECTION POLICY sample_policypolicy_name: ObjectNameThe name of the policy to apply to the column.
using_columns: Option<Vec<Ident>>Optional list of column identifiers referenced by the policy.
Trait Implementations§
Source§impl Clone for ColumnPolicyProperty
impl Clone for ColumnPolicyProperty
Source§fn clone(&self) -> ColumnPolicyProperty
fn clone(&self) -> ColumnPolicyProperty
Returns a duplicate 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 ColumnPolicyProperty
impl Debug for ColumnPolicyProperty
Source§impl Hash for ColumnPolicyProperty
impl Hash for ColumnPolicyProperty
Source§impl Ord for ColumnPolicyProperty
impl Ord for ColumnPolicyProperty
Source§fn cmp(&self, other: &ColumnPolicyProperty) -> Ordering
fn cmp(&self, other: &ColumnPolicyProperty) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ColumnPolicyProperty
impl PartialEq for ColumnPolicyProperty
Source§impl PartialOrd for ColumnPolicyProperty
impl PartialOrd for ColumnPolicyProperty
Source§impl Visit for ColumnPolicyProperty
impl Visit for ColumnPolicyProperty
Source§impl VisitMut for ColumnPolicyProperty
impl VisitMut for ColumnPolicyProperty
Source§fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
Mutably visit this node with the provided
VisitorMut. Read moreimpl Eq for ColumnPolicyProperty
impl StructuralPartialEq for ColumnPolicyProperty
Auto Trait Implementations§
impl Freeze for ColumnPolicyProperty
impl RefUnwindSafe for ColumnPolicyProperty
impl Send for ColumnPolicyProperty
impl Sync for ColumnPolicyProperty
impl Unpin for ColumnPolicyProperty
impl UnsafeUnpin for ColumnPolicyProperty
impl UnwindSafe for ColumnPolicyProperty
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