Enum spacetimedb_lib::data_key::DataKey
source · pub enum DataKey {
Data(InlineData),
Hash(Hash),
}
Variants§
Data(InlineData)
Hash(Hash)
Implementations§
source§impl DataKey
impl DataKey
sourcepub fn min_datakey() -> Self
pub fn min_datakey() -> Self
The minimum possible value for a DataKey, used for sorting DataKeys
sourcepub fn max_datakey() -> Self
pub fn max_datakey() -> Self
The maximum possible value for a DataKey, used for sorting DataKeys
Trait Implementations§
source§impl Ord for DataKey
impl Ord for DataKey
source§impl PartialEq<DataKey> for DataKey
impl PartialEq<DataKey> for DataKey
source§impl PartialOrd<DataKey> for DataKey
impl PartialOrd<DataKey> for DataKey
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 Copy for DataKey
impl Eq for DataKey
impl StructuralEq for DataKey
impl StructuralPartialEq for DataKey
Auto Trait Implementations§
impl RefUnwindSafe for DataKey
impl Send for DataKey
impl Sync for DataKey
impl Unpin for DataKey
impl UnwindSafe for DataKey
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