Struct rschema_core::StringKeys
source · [−]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
Attributes for string type properties.
Fields
min_length: Option<u64>
max_length: Option<u64>
pattern: Option<String>
format: Option<String>
enm: Vec<String>
Trait Implementations
sourceimpl Debug for StringKeys
impl Debug for StringKeys
sourceimpl Default for StringKeys
impl Default for StringKeys
sourcefn default() -> StringKeys
fn default() -> StringKeys
Returns the “default value” for a type. Read more
sourceimpl Serialize for StringKeys
impl Serialize for StringKeys
Auto Trait Implementations
impl RefUnwindSafe for StringKeys
impl Send for StringKeys
impl Sync for StringKeys
impl Unpin for StringKeys
impl UnwindSafe for StringKeys
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more