Struct spacetimedb_lib::IndexDef
source · pub struct IndexDef {
pub name: String,
pub ty: IndexType,
pub col_ids: Vec<u8>,
}Fields§
§name: String§ty: IndexType§col_ids: Vec<u8>Trait Implementations§
source§impl<'de> Deserialize<'de> for IndexDef
impl<'de> Deserialize<'de> for IndexDef
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given
deserializer.source§impl Ord for IndexDef
impl Ord for IndexDef
source§impl PartialEq<IndexDef> for IndexDef
impl PartialEq<IndexDef> for IndexDef
source§impl PartialOrd<IndexDef> for IndexDef
impl PartialOrd<IndexDef> for IndexDef
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 moreimpl Eq for IndexDef
impl StructuralEq for IndexDef
impl StructuralPartialEq for IndexDef
Auto Trait Implementations§
impl RefUnwindSafe for IndexDef
impl Send for IndexDef
impl Sync for IndexDef
impl Unpin for IndexDef
impl UnwindSafe for IndexDef
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.