pub struct SignInOutput<T: WalletAccount + Debug + Clone + Hash + Ord + PartialEq + Eq + Default> {
pub account: T,
pub message: String,
pub signature: [u8; 64],
pub public_key: [u8; 32],
}Expand description
The output of Sign In With Solana (SIWS) response from a wallet
Fields§
§account: T§message: StringThe UTF-8 encoded message
signature: [u8; 64]The signature as a byte array of 64 bytes in length corresponding to a Ed25519 Signature
public_key: [u8; 32]The public key as a byte array of 32 bytes in length corresponding to a Ed25519 Public Key
Trait Implementations§
Source§impl<T: Clone + WalletAccount + Debug + Clone + Hash + Ord + PartialEq + Eq + Default> Clone for SignInOutput<T>
impl<T: Clone + WalletAccount + Debug + Clone + Hash + Ord + PartialEq + Eq + Default> Clone for SignInOutput<T>
Source§fn clone(&self) -> SignInOutput<T>
fn clone(&self) -> SignInOutput<T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T: Debug + WalletAccount + Debug + Clone + Hash + Ord + PartialEq + Eq + Default> Debug for SignInOutput<T>
impl<T: Debug + WalletAccount + Debug + Clone + Hash + Ord + PartialEq + Eq + Default> Debug for SignInOutput<T>
impl<T: Eq + WalletAccount + Debug + Clone + Hash + Ord + PartialEq + Eq + Default> Eq for SignInOutput<T>
Source§impl<T: Hash + WalletAccount + Debug + Clone + Hash + Ord + PartialEq + Eq + Default> Hash for SignInOutput<T>
impl<T: Hash + WalletAccount + Debug + Clone + Hash + Ord + PartialEq + Eq + Default> Hash for SignInOutput<T>
Source§impl<T: Ord + WalletAccount + Debug + Clone + Hash + Ord + PartialEq + Eq + Default> Ord for SignInOutput<T>
impl<T: Ord + WalletAccount + Debug + Clone + Hash + Ord + PartialEq + Eq + Default> Ord for SignInOutput<T>
Source§fn cmp(&self, other: &SignInOutput<T>) -> Ordering
fn cmp(&self, other: &SignInOutput<T>) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T: PartialEq + WalletAccount + Debug + Clone + Hash + Ord + PartialEq + Eq + Default> PartialEq for SignInOutput<T>
impl<T: PartialEq + WalletAccount + Debug + Clone + Hash + Ord + PartialEq + Eq + Default> PartialEq for SignInOutput<T>
Source§impl<T: PartialOrd + WalletAccount + Debug + Clone + Hash + Ord + PartialEq + Eq + Default> PartialOrd for SignInOutput<T>
impl<T: PartialOrd + WalletAccount + Debug + Clone + Hash + Ord + PartialEq + Eq + Default> PartialOrd for SignInOutput<T>
impl<T: PartialEq + WalletAccount + Debug + Clone + Hash + Ord + PartialEq + Eq + Default> StructuralPartialEq for SignInOutput<T>
Auto Trait Implementations§
impl<T> Freeze for SignInOutput<T>where
T: Freeze,
impl<T> RefUnwindSafe for SignInOutput<T>where
T: RefUnwindSafe,
impl<T> Send for SignInOutput<T>where
T: Send,
impl<T> Sync for SignInOutput<T>where
T: Sync,
impl<T> Unpin for SignInOutput<T>where
T: Unpin,
impl<T> UnsafeUnpin for SignInOutput<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for SignInOutput<T>where
T: UnwindSafe,
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