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