Struct fkl_parser::mir::implementation::validation::RegexValidation
source · [−]pub struct RegexValidation {
pub pattern: String,
}
Fields
pattern: String
Trait Implementations
sourceimpl Clone for RegexValidation
impl Clone for RegexValidation
sourcefn clone(&self) -> RegexValidation
fn clone(&self) -> RegexValidation
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RegexValidation
impl Debug for RegexValidation
sourceimpl Default for RegexValidation
impl Default for RegexValidation
sourcefn default() -> RegexValidation
fn default() -> RegexValidation
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for RegexValidation
impl<'de> Deserialize<'de> for RegexValidation
sourcefn 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
sourceimpl PartialEq<RegexValidation> for RegexValidation
impl PartialEq<RegexValidation> for RegexValidation
sourcefn eq(&self, other: &RegexValidation) -> bool
fn eq(&self, other: &RegexValidation) -> bool
sourceimpl Serialize for RegexValidation
impl Serialize for RegexValidation
impl Eq for RegexValidation
impl StructuralEq for RegexValidation
impl StructuralPartialEq for RegexValidation
Auto Trait Implementations
impl RefUnwindSafe for RegexValidation
impl Send for RegexValidation
impl Sync for RegexValidation
impl Unpin for RegexValidation
impl UnwindSafe for RegexValidation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.