pub struct ExternalStringTypeFactsV0 {
pub kind: String,
pub constraint_kind: Option<String>,
pub values: Option<Vec<String>>,
pub prefix: Option<String>,
pub suffix: Option<String>,
pub min_len: Option<usize>,
pub max_len: Option<usize>,
pub char_must: Option<String>,
pub char_may: Option<String>,
pub may_include_other_chars: Option<bool>,
}Fields§
§kind: String§constraint_kind: Option<String>§values: Option<Vec<String>>§prefix: Option<String>§suffix: Option<String>§min_len: Option<usize>§max_len: Option<usize>§char_must: Option<String>§char_may: Option<String>§may_include_other_chars: Option<bool>Trait Implementations§
Source§impl Clone for ExternalStringTypeFactsV0
impl Clone for ExternalStringTypeFactsV0
Source§fn clone(&self) -> ExternalStringTypeFactsV0
fn clone(&self) -> ExternalStringTypeFactsV0
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 ExternalStringTypeFactsV0
impl Debug for ExternalStringTypeFactsV0
impl Eq for ExternalStringTypeFactsV0
Source§impl PartialEq for ExternalStringTypeFactsV0
impl PartialEq for ExternalStringTypeFactsV0
Source§fn eq(&self, other: &ExternalStringTypeFactsV0) -> bool
fn eq(&self, other: &ExternalStringTypeFactsV0) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExternalStringTypeFactsV0
Auto Trait Implementations§
impl Freeze for ExternalStringTypeFactsV0
impl RefUnwindSafe for ExternalStringTypeFactsV0
impl Send for ExternalStringTypeFactsV0
impl Sync for ExternalStringTypeFactsV0
impl Unpin for ExternalStringTypeFactsV0
impl UnsafeUnpin for ExternalStringTypeFactsV0
impl UnwindSafe for ExternalStringTypeFactsV0
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.