pub struct SignSolanaMessageWithEndUserAccountBody {
pub address: SignSolanaMessageWithEndUserAccountBodyAddress,
pub message: String,
pub wallet_secret_id: Option<SignSolanaMessageWithEndUserAccountBodyWalletSecretId>,
}Expand description
SignSolanaMessageWithEndUserAccountBody
JSON schema
{
"type": "object",
"required": [
"address",
"message"
],
"properties": {
"address": {
"description": "The base58 encoded address of the Solana account belonging to the end user.",
"examples": [
"HpabPRRCFbBKSuJr5PdkVvQc85FyxyTWkFM2obBRSvHT"
],
"type": "string",
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
},
"message": {
"description": "The base64 encoded arbitrary message to sign.",
"examples": [
"SGVsbG8sIHdvcmxk"
],
"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: SignSolanaMessageWithEndUserAccountBodyAddressThe base58 encoded address of the Solana account belonging to the end user.
message: StringThe base64 encoded arbitrary message to sign.
wallet_secret_id: Option<SignSolanaMessageWithEndUserAccountBodyWalletSecretId>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 SignSolanaMessageWithEndUserAccountBody
impl Clone for SignSolanaMessageWithEndUserAccountBody
Source§fn clone(&self) -> SignSolanaMessageWithEndUserAccountBody
fn clone(&self) -> SignSolanaMessageWithEndUserAccountBody
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 SignSolanaMessageWithEndUserAccountBody
impl<'de> Deserialize<'de> for SignSolanaMessageWithEndUserAccountBody
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<&SignSolanaMessageWithEndUserAccountBody> for SignSolanaMessageWithEndUserAccountBody
impl From<&SignSolanaMessageWithEndUserAccountBody> for SignSolanaMessageWithEndUserAccountBody
Source§fn from(value: &SignSolanaMessageWithEndUserAccountBody) -> Self
fn from(value: &SignSolanaMessageWithEndUserAccountBody) -> Self
Converts to this type from the input type.
Source§impl From<SignSolanaMessageWithEndUserAccountBody> for SignSolanaMessageWithEndUserAccountBody
impl From<SignSolanaMessageWithEndUserAccountBody> for SignSolanaMessageWithEndUserAccountBody
Source§fn from(value: SignSolanaMessageWithEndUserAccountBody) -> Self
fn from(value: SignSolanaMessageWithEndUserAccountBody) -> Self
Converts to this type from the input type.
Source§impl TryFrom<SignSolanaMessageWithEndUserAccountBody> for SignSolanaMessageWithEndUserAccountBody
impl TryFrom<SignSolanaMessageWithEndUserAccountBody> for SignSolanaMessageWithEndUserAccountBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: SignSolanaMessageWithEndUserAccountBody,
) -> Result<Self, ConversionError>
fn try_from( value: SignSolanaMessageWithEndUserAccountBody, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SignSolanaMessageWithEndUserAccountBody
impl RefUnwindSafe for SignSolanaMessageWithEndUserAccountBody
impl Send for SignSolanaMessageWithEndUserAccountBody
impl Sync for SignSolanaMessageWithEndUserAccountBody
impl Unpin for SignSolanaMessageWithEndUserAccountBody
impl UnsafeUnpin for SignSolanaMessageWithEndUserAccountBody
impl UnwindSafe for SignSolanaMessageWithEndUserAccountBody
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