pub struct LexString {
pub description: Option<String>,
pub format: Option<LexStringFormat>,
pub default: Option<String>,
pub min_length: Option<usize>,
pub max_length: Option<usize>,
pub min_graphemes: Option<usize>,
pub max_graphemes: Option<usize>,
pub enum: Option<Vec<String>>,
pub const: Option<String>,
pub known_values: Option<Vec<String>>,
}Fields§
§description: Option<String>§format: Option<LexStringFormat>§default: Option<String>§min_length: Option<usize>§max_length: Option<usize>§min_graphemes: Option<usize>§max_graphemes: Option<usize>§enum: Option<Vec<String>>§const: Option<String>§known_values: Option<Vec<String>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for LexString
impl<'de> Deserialize<'de> for LexString
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 LexString
impl StructuralPartialEq for LexString
Auto Trait Implementations§
impl Freeze for LexString
impl RefUnwindSafe for LexString
impl Send for LexString
impl Sync for LexString
impl Unpin for LexString
impl UnwindSafe for LexString
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.