pub struct StringKeys {
pub min_length: Option<u64>,
pub max_length: Option<u64>,
pub pattern: Option<String>,
pub format: Option<String>,
pub enm: Vec<String>,
}Expand description
Keywords for a string type property.
Fields§
§min_length: Option<u64>§max_length: Option<u64>§pattern: Option<String>§format: Option<String>§enm: Vec<String>Trait Implementations§
Source§impl Debug for StringKeys
impl Debug for StringKeys
Source§impl Default for StringKeys
impl Default for StringKeys
Source§fn default() -> StringKeys
fn default() -> StringKeys
Returns the “default value” for a type. Read more
Source§impl Serialize for StringKeys
impl Serialize for StringKeys
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for StringKeys
impl RefUnwindSafe for StringKeys
impl Send for StringKeys
impl Sync for StringKeys
impl Unpin for StringKeys
impl UnwindSafe for StringKeys
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