Enum valued::Primitive [−][src]
#[non_exhaustive]
pub enum Primitive {
String(String),
U64(u64),
I64(i64),
Decimal(BigDecimal),
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
String(String)
Tuple Fields
0: String
U64(u64)
Tuple Fields
0: u64
I64(i64)
Tuple Fields
0: i64
Decimal(BigDecimal)
Tuple Fields
0: BigDecimal
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Primitive
impl UnwindSafe for Primitive
Blanket Implementations
Mutably borrows from an owned value. Read more