pub struct ScalarMetadata {
pub family: ScalarCoercionFamily,
pub is_numeric_value: bool,
pub supports_numeric_coercion: bool,
pub supports_arithmetic: bool,
pub supports_equality: bool,
pub supports_ordering: bool,
pub is_keyable: bool,
pub is_storage_key_encodable: bool,
}Expand description
ScalarMetadata
Capability metadata shared across schema/core layers.
Fields§
§family: ScalarCoercionFamily§is_numeric_value: bool§supports_numeric_coercion: bool§supports_arithmetic: bool§supports_equality: bool§supports_ordering: bool§is_keyable: bool§is_storage_key_encodable: boolTrait Implementations§
Source§impl Clone for ScalarMetadata
impl Clone for ScalarMetadata
Source§fn clone(&self) -> ScalarMetadata
fn clone(&self) -> ScalarMetadata
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 ScalarMetadata
impl Debug for ScalarMetadata
Source§impl PartialEq for ScalarMetadata
impl PartialEq for ScalarMetadata
impl Copy for ScalarMetadata
impl Eq for ScalarMetadata
impl StructuralPartialEq for ScalarMetadata
Auto Trait Implementations§
impl Freeze for ScalarMetadata
impl RefUnwindSafe for ScalarMetadata
impl Send for ScalarMetadata
impl Sync for ScalarMetadata
impl Unpin for ScalarMetadata
impl UnsafeUnpin for ScalarMetadata
impl UnwindSafe for ScalarMetadata
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