pub struct SpacetimeDSLTable {
pub is_singleton: bool,
pub plural_name: Ident,
pub has_update_method: bool,
pub has_delete_method: bool,
pub on_insert_set_current_timestamp_column_name: Option<Ident>,
pub on_update_set_current_timestamp_column_name: Option<Ident>,
pub referencing_tables: Vec<ReferencingTable>,
pub compile_error_checks: HashSet<Ident>,
pub create_dsl_method_arg: Option<CreateDSLMethodArg>,
pub hooks: SpacetimeDSLMethodHooks,
}Fields§
§is_singleton: bool§plural_name: Ident§has_update_method: bool§has_delete_method: bool§on_insert_set_current_timestamp_column_name: Option<Ident>§on_update_set_current_timestamp_column_name: Option<Ident>§referencing_tables: Vec<ReferencingTable>§compile_error_checks: HashSet<Ident>§create_dsl_method_arg: Option<CreateDSLMethodArg>§hooks: SpacetimeDSLMethodHooksTrait Implementations§
Source§impl Clone for SpacetimeDSLTable
impl Clone for SpacetimeDSLTable
Source§fn clone(&self) -> SpacetimeDSLTable
fn clone(&self) -> SpacetimeDSLTable
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 moreAuto Trait Implementations§
impl Freeze for SpacetimeDSLTable
impl RefUnwindSafe for SpacetimeDSLTable
impl !Send for SpacetimeDSLTable
impl !Sync for SpacetimeDSLTable
impl Unpin for SpacetimeDSLTable
impl UnsafeUnpin for SpacetimeDSLTable
impl UnwindSafe for SpacetimeDSLTable
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> 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