pub enum IrPrimitive {
String,
Integer,
Number,
Boolean,
Binary,
Date,
DateTime,
Uuid,
StringWithFormat(String),
IntegerWithFormat(String),
NumberWithFormat(String),
}Expand description
Primitive types with optional format hints.
Variants§
String
Integer
Number
Boolean
Binary
Binary data (format: “binary”).
Date
Date string (format: “date”).
DateTime
Date-time string (format: “date-time”).
Uuid
UUID string (format: “uuid”).
StringWithFormat(String)
Generic string with a format the IR doesn’t special-case.
IntegerWithFormat(String)
Generic integer with a format (e.g. “int32”, “int64”).
NumberWithFormat(String)
Generic number with a format (e.g. “float”, “double”).
Trait Implementations§
Source§impl Clone for IrPrimitive
impl Clone for IrPrimitive
Source§fn clone(&self) -> IrPrimitive
fn clone(&self) -> IrPrimitive
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IrPrimitive
impl Debug for IrPrimitive
impl Eq for IrPrimitive
Source§impl PartialEq for IrPrimitive
impl PartialEq for IrPrimitive
Source§impl Serialize for IrPrimitive
impl Serialize for IrPrimitive
impl StructuralPartialEq for IrPrimitive
Auto Trait Implementations§
impl Freeze for IrPrimitive
impl RefUnwindSafe for IrPrimitive
impl Send for IrPrimitive
impl Sync for IrPrimitive
impl Unpin for IrPrimitive
impl UnsafeUnpin for IrPrimitive
impl UnwindSafe for IrPrimitive
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.