pub struct RowAccessPolicy {
pub policy: ObjectName,
pub on: Vec<Ident>,
}Expand description
Snowflake WITH ROW ACCESS POLICY policy_name ON (identifier, ...)
https://docs.snowflake.com/en/sql-reference/sql/create-table https://docs.snowflake.com/en/user-guide/security-row-intro
Fields§
§policy: ObjectNameThe fully-qualified policy object name.
on: Vec<Ident>Identifiers for the columns or objects the policy applies to.
Implementations§
Source§impl RowAccessPolicy
impl RowAccessPolicy
Sourcepub fn new(policy: ObjectName, on: Vec<Ident>) -> Self
pub fn new(policy: ObjectName, on: Vec<Ident>) -> Self
Create a new RowAccessPolicy for the given policy and on identifiers.
Trait Implementations§
Source§impl Clone for RowAccessPolicy
impl Clone for RowAccessPolicy
Source§fn clone(&self) -> RowAccessPolicy
fn clone(&self) -> RowAccessPolicy
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 RowAccessPolicy
impl Debug for RowAccessPolicy
Source§impl Display for RowAccessPolicy
impl Display for RowAccessPolicy
Source§impl Hash for RowAccessPolicy
impl Hash for RowAccessPolicy
Source§impl Ord for RowAccessPolicy
impl Ord for RowAccessPolicy
Source§fn cmp(&self, other: &RowAccessPolicy) -> Ordering
fn cmp(&self, other: &RowAccessPolicy) -> 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 RowAccessPolicy
impl PartialEq for RowAccessPolicy
Source§impl PartialOrd for RowAccessPolicy
impl PartialOrd for RowAccessPolicy
Source§impl Visit for RowAccessPolicy
impl Visit for RowAccessPolicy
Source§impl VisitMut for RowAccessPolicy
impl VisitMut for RowAccessPolicy
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 RowAccessPolicy
impl StructuralPartialEq for RowAccessPolicy
Auto Trait Implementations§
impl Freeze for RowAccessPolicy
impl RefUnwindSafe for RowAccessPolicy
impl Send for RowAccessPolicy
impl Sync for RowAccessPolicy
impl Unpin for RowAccessPolicy
impl UnsafeUnpin for RowAccessPolicy
impl UnwindSafe for RowAccessPolicy
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