pub struct ColumnPolicyProperty {
pub with: bool,
pub policy_name: Ident,
pub using_columns: Option<Vec<Ident>>,
}Fields§
§with: boolThis flag indicates that the column policy option is declared using the WITH prefix.
Example
WITH PROJECTION POLICY sample_policypolicy_name: Ident§using_columns: Option<Vec<Ident>>Trait Implementations§
Source§impl AsNodeKey for ColumnPolicyProperty
impl AsNodeKey for ColumnPolicyProperty
fn as_node_key(&self) -> NodeKey<'_>
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<'ast> Transformable<'ast> for ColumnPolicyProperty
impl<'ast> Transformable<'ast> for ColumnPolicyProperty
Source§impl Visitable for ColumnPolicyProperty
impl Visitable for ColumnPolicyProperty
Source§fn accept<'ast, V: Visitor<'ast>>(
&'ast self,
visitor: &mut V,
) -> ControlFlow<Break<V::Error>>
fn accept<'ast, V: Visitor<'ast>>( &'ast self, visitor: &mut V, ) -> ControlFlow<Break<V::Error>>
Accepts a borrowed
Visitor and traverses the AST starting at self invoking Visitor::enter and
Visitor::exit as nodes are entered and exiting respectively.Source§fn downcast_ref<Target: Visitable>(&self) -> Option<&Target>
fn downcast_ref<Target: Visitable>(&self) -> Option<&Target>
Tries to downcast
self as &Target.Source§fn downcast_mut<Target: Visitable>(&mut self) -> Option<&mut Target>
fn downcast_mut<Target: Visitable>(&mut self) -> Option<&mut Target>
Tries to downcast
self as &mut Target.impl 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 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