pub enum StTableType {
System,
User,
}Expand description
Describe is the table is a system table or not.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for StTableType
impl Clone for StTableType
Source§fn clone(&self) -> StTableType
fn clone(&self) -> StTableType
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 StTableType
impl Debug for StTableType
Source§impl<'de> Deserialize<'de> for StTableType
impl<'de> Deserialize<'de> for StTableType
Source§fn deserialize<D: Deserializer<'de>>(de: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(de: D) -> Result<Self, D::Error>
Deserialize this value from the given
deserializer.Source§impl From<StTableType> for TableType
impl From<StTableType> for TableType
Source§fn from(t: StTableType) -> Self
fn from(t: StTableType) -> Self
Converts to this type from the input type.
Source§impl From<TableType> for StTableType
impl From<TableType> for StTableType
Source§impl GroundSpacetimeType for StTableType
impl GroundSpacetimeType for StTableType
Source§fn get_type() -> AlgebraicType
fn get_type() -> AlgebraicType
Returns the
AlgebraicType representation of Self.Source§impl Hash for StTableType
impl Hash for StTableType
Source§impl Ord for StTableType
impl Ord for StTableType
Source§fn cmp(&self, other: &StTableType) -> Ordering
fn cmp(&self, other: &StTableType) -> 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 StTableType
impl PartialEq for StTableType
Source§impl PartialOrd for StTableType
impl PartialOrd for StTableType
Source§impl Serialize for StTableType
impl Serialize for StTableType
Source§impl SpacetimeType for StTableType
impl SpacetimeType for StTableType
Source§fn make_type<S: TypespaceBuilder>(_ts: &mut S) -> AlgebraicType
fn make_type<S: TypespaceBuilder>(_ts: &mut S) -> AlgebraicType
Returns an
AlgebraicType representing the type for Self in SATS
and in the typing context in typespace. This is used by the
automatic type registration system in Rust modules. Read moreSource§impl<'a> TryFrom<&'a str> for StTableType
impl<'a> TryFrom<&'a str> for StTableType
impl Copy for StTableType
impl Eq for StTableType
impl StructuralPartialEq for StTableType
Auto Trait Implementations§
impl Freeze for StTableType
impl RefUnwindSafe for StTableType
impl Send for StTableType
impl Sync for StTableType
impl Unpin for StTableType
impl UnwindSafe for StTableType
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 moreSource§impl<T> Satn for T
impl<T> Satn for T
Source§fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>
Formats the value using the SATN data format into the formatter
f.Source§fn fmt_psql(
&self,
f: &mut Formatter<'_>,
ty: &PsqlType<'_>,
) -> Result<(), Error>
fn fmt_psql( &self, f: &mut Formatter<'_>, ty: &PsqlType<'_>, ) -> Result<(), Error>
Formats the value using the postgres SATN(PsqlFormatter { f }, /* PsqlType */) formatter
f.Source§fn to_satn(&self) -> String
fn to_satn(&self) -> String
Formats the value using the SATN data format into the returned
String.Source§fn to_satn_pretty(&self) -> String
fn to_satn_pretty(&self) -> String
Pretty prints the value using the SATN data format into the returned
String.