pub enum FieldAttribute {
Indexed,
Immutable,
Computed,
}Expand description
Represents an attribute associated with a field for an ent
Variants§
Indexed
Indicates that this field is indexed for faster lookup
Immutable
Indicates that this field is immutable, meaning that it cannot be changed after being initialized
Computed
Indicates that this field is computed and does not have a standard data representation within the ent (although it may have a cached value)
Trait Implementations§
Source§impl Clone for FieldAttribute
impl Clone for FieldAttribute
Source§fn clone(&self) -> FieldAttribute
fn clone(&self) -> FieldAttribute
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 FieldAttribute
impl Debug for FieldAttribute
Source§impl Hash for FieldAttribute
impl Hash for FieldAttribute
Source§impl Ord for FieldAttribute
impl Ord for FieldAttribute
Source§fn cmp(&self, other: &FieldAttribute) -> Ordering
fn cmp(&self, other: &FieldAttribute) -> 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 FieldAttribute
impl PartialEq for FieldAttribute
Source§impl PartialOrd for FieldAttribute
impl PartialOrd for FieldAttribute
impl Copy for FieldAttribute
impl Eq for FieldAttribute
impl StructuralPartialEq for FieldAttribute
Auto Trait Implementations§
impl Freeze for FieldAttribute
impl RefUnwindSafe for FieldAttribute
impl Send for FieldAttribute
impl Sync for FieldAttribute
impl Unpin for FieldAttribute
impl UnwindSafe for FieldAttribute
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