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