pub struct SignEvmMessageBody {
pub message: String,
}
Expand description
SignEvmMessageBody
JSON schema
{
"type": "object",
"required": [
"message"
],
"properties": {
"message": {
"description": "The message to sign.",
"examples": [
"Hello, world!"
],
"type": "string"
}
}
}
Fields§
§message: String
The message to sign.
Implementations§
Source§impl SignEvmMessageBody
impl SignEvmMessageBody
pub fn builder() -> SignEvmMessageBody
Trait Implementations§
Source§impl Clone for SignEvmMessageBody
impl Clone for SignEvmMessageBody
Source§fn clone(&self) -> SignEvmMessageBody
fn clone(&self) -> SignEvmMessageBody
Returns a duplicate of the value. Read more
1.0.0 · 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 SignEvmMessageBody
impl Debug for SignEvmMessageBody
Source§impl<'de> Deserialize<'de> for SignEvmMessageBody
impl<'de> Deserialize<'de> for SignEvmMessageBody
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 From<&SignEvmMessageBody> for SignEvmMessageBody
impl From<&SignEvmMessageBody> for SignEvmMessageBody
Source§fn from(value: &SignEvmMessageBody) -> Self
fn from(value: &SignEvmMessageBody) -> Self
Converts to this type from the input type.
Source§impl From<SignEvmMessageBody> for SignEvmMessageBody
impl From<SignEvmMessageBody> for SignEvmMessageBody
Source§fn from(value: SignEvmMessageBody) -> Self
fn from(value: SignEvmMessageBody) -> Self
Converts to this type from the input type.
Source§impl Serialize for SignEvmMessageBody
impl Serialize for SignEvmMessageBody
Source§impl TryFrom<SignEvmMessageBody> for SignEvmMessageBody
impl TryFrom<SignEvmMessageBody> for SignEvmMessageBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SignEvmMessageBody) -> Result<Self, ConversionError>
fn try_from(value: SignEvmMessageBody) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SignEvmMessageBody
impl RefUnwindSafe for SignEvmMessageBody
impl Send for SignEvmMessageBody
impl Sync for SignEvmMessageBody
impl Unpin for SignEvmMessageBody
impl UnwindSafe for SignEvmMessageBody
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