Enum spacetimedb_lib::auth::StTableType
source · 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 copy 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 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<StTableType> for StTableType
impl PartialEq<StTableType> for StTableType
source§fn eq(&self, other: &StTableType) -> bool
fn eq(&self, other: &StTableType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<StTableType> for StTableType
impl PartialOrd<StTableType> for StTableType
source§fn partial_cmp(&self, other: &StTableType) -> Option<Ordering>
fn partial_cmp(&self, other: &StTableType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for StTableType
impl Serialize for StTableType
source§impl<'a> TryFrom<&'a str> for StTableType
impl<'a> TryFrom<&'a str> for StTableType
impl Copy for StTableType
impl Eq for StTableType
impl StructuralEq for StTableType
impl StructuralPartialEq for StTableType
Auto Trait Implementations§
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> Satn for Twhere
T: Serialize + ?Sized,
impl<T> Satn for Twhere T: Serialize + ?Sized,
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<'_>) -> Result<(), Error>
fn fmt_psql(&self, f: &mut Formatter<'_>) -> Result<(), Error>
Formats the value using the postgres SATN data format into the 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.