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 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<'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§impl PartialOrd for RowAccessPolicy
impl PartialOrd for RowAccessPolicy
Source§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