pub enum PromotedFieldValueV1 {
Keyword(String),
I64(i64),
U64(u64),
F64Bits(u64),
DateMillis(u64),
Boolean(bool),
}Expand description
Canonical scalar stored in a derived promoted column. Floating-point values use normalized IEEE bits so equality and ordering remain explicit.
Variants§
Implementations§
Source§impl PromotedFieldValueV1
impl PromotedFieldValueV1
pub fn validate_for_type( &self, field_type: PromotedFieldTypeV1, ) -> Result<(), DerivedContractError>
Trait Implementations§
Source§impl Clone for PromotedFieldValueV1
impl Clone for PromotedFieldValueV1
Source§impl Debug for PromotedFieldValueV1
impl Debug for PromotedFieldValueV1
Source§impl<'de> Deserialize<'de> for PromotedFieldValueV1
impl<'de> Deserialize<'de> for PromotedFieldValueV1
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PromotedFieldValueV1
Source§impl Ord for PromotedFieldValueV1
impl Ord for PromotedFieldValueV1
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for PromotedFieldValueV1
impl PartialEq for PromotedFieldValueV1
Source§impl PartialOrd for PromotedFieldValueV1
impl PartialOrd for PromotedFieldValueV1
Source§impl Serialize for PromotedFieldValueV1
impl Serialize for PromotedFieldValueV1
impl StructuralPartialEq for PromotedFieldValueV1
Auto Trait Implementations§
impl Freeze for PromotedFieldValueV1
impl RefUnwindSafe for PromotedFieldValueV1
impl Send for PromotedFieldValueV1
impl Sync for PromotedFieldValueV1
impl Unpin for PromotedFieldValueV1
impl UnsafeUnpin for PromotedFieldValueV1
impl UnwindSafe for PromotedFieldValueV1
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