pub struct CycleClause {
pub columns: Vec<String>,
pub mark_column: String,
pub mark_value: Option<Literal>,
pub default_value: Option<Literal>,
pub path_column: String,
}Expand description
v7.38 (read01 U16) — parsed CYCLE … SET … [TO … DEFAULT …] USING ….
Fields§
§columns: Vec<String>Columns whose repetition along a path marks a cycle.
mark_column: StringThe new boolean-ish column set to mark_value on a cycle.
mark_value: Option<Literal>Value written to mark_column when a cycle is detected (default
true); default_value otherwise. PG allows any type; SPG carries
them as literals.
default_value: Option<Literal>§path_column: StringThe new column accumulating the visited-row path array.
Trait Implementations§
Source§impl Clone for CycleClause
impl Clone for CycleClause
Source§fn clone(&self) -> CycleClause
fn clone(&self) -> CycleClause
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CycleClause
impl Debug for CycleClause
Source§impl PartialEq for CycleClause
impl PartialEq for CycleClause
impl StructuralPartialEq for CycleClause
Auto Trait Implementations§
impl Freeze for CycleClause
impl RefUnwindSafe for CycleClause
impl Send for CycleClause
impl Sync for CycleClause
impl Unpin for CycleClause
impl UnsafeUnpin for CycleClause
impl UnwindSafe for CycleClause
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