pub enum TagRuntime {
Show 17 variants
MinLength(usize),
MaxLength(usize),
MinItems(usize),
MaxItems(usize),
UniqueItems(bool),
Minimum(f64),
Maximum(f64),
ExclusiveMinimum(f64),
ExclusiveMaximum(f64),
MultipleOf(f64),
Pattern(String),
Format(String),
Type(String),
Items(Vec<TagRuntime>),
Keys(Vec<TagRuntime>),
Values(Vec<TagRuntime>),
Metadata {
kind: String,
args: Vec<String>,
},
}Expand description
Runtime representation for derive-time rustia tags.
Variants§
MinLength(usize)
MaxLength(usize)
MinItems(usize)
MaxItems(usize)
UniqueItems(bool)
Minimum(f64)
Maximum(f64)
ExclusiveMinimum(f64)
ExclusiveMaximum(f64)
MultipleOf(f64)
Pattern(String)
Format(String)
Type(String)
Items(Vec<TagRuntime>)
Keys(Vec<TagRuntime>)
Values(Vec<TagRuntime>)
Metadata
Trait Implementations§
Source§impl Clone for TagRuntime
impl Clone for TagRuntime
Source§fn clone(&self) -> TagRuntime
fn clone(&self) -> TagRuntime
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 TagRuntime
impl Debug for TagRuntime
Source§impl PartialEq for TagRuntime
impl PartialEq for TagRuntime
impl StructuralPartialEq for TagRuntime
Auto Trait Implementations§
impl Freeze for TagRuntime
impl RefUnwindSafe for TagRuntime
impl Send for TagRuntime
impl Sync for TagRuntime
impl Unpin for TagRuntime
impl UnsafeUnpin for TagRuntime
impl UnwindSafe for TagRuntime
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