pub struct SignMessageRequest {
pub wallet_id: Option<String>,
pub blockchain: Option<Blockchain>,
pub wallet_address: Option<String>,
pub message: String,
pub encoded_by_hex: Option<bool>,
pub memo: Option<String>,
pub entity_secret_ciphertext: String,
}Expand description
Request body for signing a plain or hex-encoded message.
Fields§
§wallet_id: Option<String>Source wallet ID.
blockchain: Option<Blockchain>Blockchain network (required when wallet_id is absent).
wallet_address: Option<String>Wallet address (required when wallet_id is absent).
message: StringMessage to sign (UTF-8 string or hex string when encoded_by_hex is true).
encoded_by_hex: Option<bool>When true, message is treated as a hex-encoded byte array.
memo: Option<String>Optional memo for record-keeping.
entity_secret_ciphertext: StringEncrypted entity secret ciphertext.
Trait Implementations§
Source§impl Clone for SignMessageRequest
impl Clone for SignMessageRequest
Source§fn clone(&self) -> SignMessageRequest
fn clone(&self) -> SignMessageRequest
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 SignMessageRequest
impl Debug for SignMessageRequest
Auto Trait Implementations§
impl Freeze for SignMessageRequest
impl RefUnwindSafe for SignMessageRequest
impl Send for SignMessageRequest
impl Sync for SignMessageRequest
impl Unpin for SignMessageRequest
impl UnsafeUnpin for SignMessageRequest
impl UnwindSafe for SignMessageRequest
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