pub enum SiwsInputMessageType {
Plain,
Transaction,
}Expand description
SiwsInputMessageType
JSON schema
{
"type": "string",
"enum": [
"plain",
"transaction"
]
}Variants§
Trait Implementations§
Source§impl Clone for SiwsInputMessageType
impl Clone for SiwsInputMessageType
Source§fn clone(&self) -> SiwsInputMessageType
fn clone(&self) -> SiwsInputMessageType
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 moreimpl Copy for SiwsInputMessageType
Source§impl Debug for SiwsInputMessageType
impl Debug for SiwsInputMessageType
Source§impl<'de> Deserialize<'de> for SiwsInputMessageType
impl<'de> Deserialize<'de> for SiwsInputMessageType
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 Display for SiwsInputMessageType
impl Display for SiwsInputMessageType
impl Eq for SiwsInputMessageType
Source§impl From<&SiwsInputMessageType> for SiwsInputMessageType
impl From<&SiwsInputMessageType> for SiwsInputMessageType
Source§fn from(value: &SiwsInputMessageType) -> Self
fn from(value: &SiwsInputMessageType) -> Self
Converts to this type from the input type.
Source§impl FromStr for SiwsInputMessageType
impl FromStr for SiwsInputMessageType
Source§impl Hash for SiwsInputMessageType
impl Hash for SiwsInputMessageType
Source§impl Ord for SiwsInputMessageType
impl Ord for SiwsInputMessageType
Source§fn cmp(&self, other: &SiwsInputMessageType) -> Ordering
fn cmp(&self, other: &SiwsInputMessageType) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SiwsInputMessageType
impl PartialEq for SiwsInputMessageType
Source§fn eq(&self, other: &SiwsInputMessageType) -> bool
fn eq(&self, other: &SiwsInputMessageType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SiwsInputMessageType
impl PartialOrd for SiwsInputMessageType
Source§impl Serialize for SiwsInputMessageType
impl Serialize for SiwsInputMessageType
impl StructuralPartialEq for SiwsInputMessageType
Source§impl TryFrom<&String> for SiwsInputMessageType
impl TryFrom<&String> for SiwsInputMessageType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for SiwsInputMessageType
impl TryFrom<&str> for SiwsInputMessageType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for SiwsInputMessageType
impl TryFrom<String> for SiwsInputMessageType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for SiwsInputMessageType
impl RefUnwindSafe for SiwsInputMessageType
impl Send for SiwsInputMessageType
impl Sync for SiwsInputMessageType
impl Unpin for SiwsInputMessageType
impl UnsafeUnpin for SiwsInputMessageType
impl UnwindSafe for SiwsInputMessageType
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