pub struct TreeSpec {
pub table_name: &'static str,
pub events_table_name: &'static str,
pub parent_column: Option<&'static str>,
pub soft_delete: bool,
pub forgettable_table_name: Option<&'static str>,
pub event_context: bool,
pub children: Vec<TreeSpec>,
}Expand description
Static description of one node (repo) in a nested tree, used to build the query.
Fields§
§table_name: &'static str§events_table_name: &'static str§parent_column: Option<&'static str>§soft_delete: bool§forgettable_table_name: Option<&'static str>§event_context: bool§children: Vec<TreeSpec>Trait Implementations§
Auto Trait Implementations§
impl Freeze for TreeSpec
impl RefUnwindSafe for TreeSpec
impl Send for TreeSpec
impl Sync for TreeSpec
impl Unpin for TreeSpec
impl UnsafeUnpin for TreeSpec
impl UnwindSafe for TreeSpec
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more