Struct spacetimedb_lib::relation::Column
source · pub struct Column {
pub field: FieldName,
pub algebraic_type: AlgebraicType,
}Fields§
§field: FieldName§algebraic_type: AlgebraicTypeImplementations§
source§impl Column
impl Column
pub fn new(field: FieldName, algebraic_type: AlgebraicType) -> Self
pub fn as_without_table(&self) -> ColumnOnlyField<'_>
Trait Implementations§
source§impl Ord for Column
impl Ord for Column
source§impl PartialEq for Column
impl PartialEq for Column
source§impl PartialOrd for Column
impl PartialOrd for Column
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 Column
impl StructuralEq for Column
impl StructuralPartialEq for Column
Auto Trait Implementations§
impl RefUnwindSafe for Column
impl Send for Column
impl Sync for Column
impl Unpin for Column
impl UnwindSafe for Column
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