pub enum IdSyntax {
AnyString,
AsciiIdentifier,
}Expand description
A target-specific syntax restriction, used only when supported by the target contract. No vendor-wide character restriction is assumed by default.
Variants§
Trait Implementations§
impl Copy for IdSyntax
Source§impl<'de> Deserialize<'de> for IdSyntax
impl<'de> Deserialize<'de> for IdSyntax
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
impl Eq for IdSyntax
impl StructuralPartialEq for IdSyntax
Auto Trait Implementations§
impl Freeze for IdSyntax
impl RefUnwindSafe for IdSyntax
impl Send for IdSyntax
impl Sync for IdSyntax
impl Unpin for IdSyntax
impl UnsafeUnpin for IdSyntax
impl UnwindSafe for IdSyntax
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