pub enum RegexDialect {
SafeSubset,
}Expand description
Enumerates the finite regex dialect cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
SafeSubset
Use this variant when the contract needs to represent safe subset; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for RegexDialect
impl Clone for RegexDialect
Source§fn clone(&self) -> RegexDialect
fn clone(&self) -> RegexDialect
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 RegexDialect
impl Debug for RegexDialect
Source§impl<'de> Deserialize<'de> for RegexDialect
impl<'de> Deserialize<'de> for RegexDialect
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
Source§impl PartialEq for RegexDialect
impl PartialEq for RegexDialect
Source§fn eq(&self, other: &RegexDialect) -> bool
fn eq(&self, other: &RegexDialect) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RegexDialect
impl Serialize for RegexDialect
impl Eq for RegexDialect
impl StructuralPartialEq for RegexDialect
Auto Trait Implementations§
impl Freeze for RegexDialect
impl RefUnwindSafe for RegexDialect
impl Send for RegexDialect
impl Sync for RegexDialect
impl Unpin for RegexDialect
impl UnsafeUnpin for RegexDialect
impl UnwindSafe for RegexDialect
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