Struct sqlparser::ast::RowAccessPolicy
source · 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: ObjectName§on: Vec<Ident>Implementations§
source§impl RowAccessPolicy
impl RowAccessPolicy
pub fn new(policy: ObjectName, on: Vec<Ident>) -> Self
Trait Implementations§
source§impl Clone for RowAccessPolicy
impl Clone for RowAccessPolicy
source§fn clone(&self) -> RowAccessPolicy
fn clone(&self) -> RowAccessPolicy
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 RowAccessPolicy
impl Debug for RowAccessPolicy
source§impl<'de> Deserialize<'de> for RowAccessPolicy
impl<'de> Deserialize<'de> for RowAccessPolicy
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 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§fn eq(&self, other: &RowAccessPolicy) -> bool
fn eq(&self, other: &RowAccessPolicy) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for RowAccessPolicy
impl PartialOrd for RowAccessPolicy
source§fn partial_cmp(&self, other: &RowAccessPolicy) -> Option<Ordering>
fn partial_cmp(&self, other: &RowAccessPolicy) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for RowAccessPolicy
impl Serialize for RowAccessPolicy
source§impl Visit for RowAccessPolicy
impl Visit for RowAccessPolicy
source§impl VisitMut for RowAccessPolicy
impl VisitMut for RowAccessPolicy
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
impl 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 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
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit)