pub struct SignEvmMessageWithEndUserAccountBody {
pub address: SignEvmMessageWithEndUserAccountBodyAddress,
pub message: String,
pub wallet_secret_id: Option<SignEvmMessageWithEndUserAccountBodyWalletSecretId>,
}Expand description
SignEvmMessageWithEndUserAccountBody
JSON schema
{
"type": "object",
"required": [
"address",
"message"
],
"properties": {
"address": {
"description": "The 0x-prefixed address of the EVM account belonging to the end user.",
"examples": [
"0x742d35Cc6634C0532925a3b844Bc454e4438f44e"
],
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
"message": {
"description": "The message to sign.",
"examples": [
"Hello, world!"
],
"type": "string"
},
"walletSecretId": {
"description": "Required when not using delegated signing. The ID of the Temporary Wallet Secret that was used to sign the X-Wallet-Auth Header.",
"examples": [
"e051beeb-7163-4527-a5b6-35e301529ff2"
],
"type": "string",
"pattern": "^[a-zA-Z0-9-]{1,100}$"
}
}
}Fields§
§address: SignEvmMessageWithEndUserAccountBodyAddressThe 0x-prefixed address of the EVM account belonging to the end user.
message: StringThe message to sign.
wallet_secret_id: Option<SignEvmMessageWithEndUserAccountBodyWalletSecretId>Required when not using delegated signing. The ID of the Temporary Wallet Secret that was used to sign the X-Wallet-Auth Header.
Implementations§
Trait Implementations§
Source§impl Clone for SignEvmMessageWithEndUserAccountBody
impl Clone for SignEvmMessageWithEndUserAccountBody
Source§fn clone(&self) -> SignEvmMessageWithEndUserAccountBody
fn clone(&self) -> SignEvmMessageWithEndUserAccountBody
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<'de> Deserialize<'de> for SignEvmMessageWithEndUserAccountBody
impl<'de> Deserialize<'de> for SignEvmMessageWithEndUserAccountBody
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<&SignEvmMessageWithEndUserAccountBody> for SignEvmMessageWithEndUserAccountBody
impl From<&SignEvmMessageWithEndUserAccountBody> for SignEvmMessageWithEndUserAccountBody
Source§fn from(value: &SignEvmMessageWithEndUserAccountBody) -> Self
fn from(value: &SignEvmMessageWithEndUserAccountBody) -> Self
Converts to this type from the input type.
Source§impl From<SignEvmMessageWithEndUserAccountBody> for SignEvmMessageWithEndUserAccountBody
impl From<SignEvmMessageWithEndUserAccountBody> for SignEvmMessageWithEndUserAccountBody
Source§fn from(value: SignEvmMessageWithEndUserAccountBody) -> Self
fn from(value: SignEvmMessageWithEndUserAccountBody) -> Self
Converts to this type from the input type.
Source§impl TryFrom<SignEvmMessageWithEndUserAccountBody> for SignEvmMessageWithEndUserAccountBody
impl TryFrom<SignEvmMessageWithEndUserAccountBody> for SignEvmMessageWithEndUserAccountBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: SignEvmMessageWithEndUserAccountBody,
) -> Result<Self, ConversionError>
fn try_from( value: SignEvmMessageWithEndUserAccountBody, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SignEvmMessageWithEndUserAccountBody
impl RefUnwindSafe for SignEvmMessageWithEndUserAccountBody
impl Send for SignEvmMessageWithEndUserAccountBody
impl Sync for SignEvmMessageWithEndUserAccountBody
impl Unpin for SignEvmMessageWithEndUserAccountBody
impl UnsafeUnpin for SignEvmMessageWithEndUserAccountBody
impl UnwindSafe for SignEvmMessageWithEndUserAccountBody
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