pub struct SigPayload {
pub target: String,
pub receiver: String,
pub amount: String,
pub expiry: String,
pub nonce: String,
pub type: i32,
}Fields§
§target: StringTarget address for the claim.
receiver: StringReceiver address for the claim.
amount: StringAmount to be claimed.
expiry: StringExpiry timestamp for the claim.
nonce: StringNonce for the claim.
type: i32Type identifier for the claim.
Implementations§
Trait Implementations§
Source§impl Clone for SigPayload
impl Clone for SigPayload
Source§fn clone(&self) -> SigPayload
fn clone(&self) -> SigPayload
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 SigPayload
impl Debug for SigPayload
Source§impl Default for SigPayload
impl Default for SigPayload
Source§fn default() -> SigPayload
fn default() -> SigPayload
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SigPayload
impl<'de> Deserialize<'de> for SigPayload
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 PartialEq for SigPayload
impl PartialEq for SigPayload
Source§impl Serialize for SigPayload
impl Serialize for SigPayload
impl StructuralPartialEq for SigPayload
Auto Trait Implementations§
impl Freeze for SigPayload
impl RefUnwindSafe for SigPayload
impl Send for SigPayload
impl Sync for SigPayload
impl Unpin for SigPayload
impl UnsafeUnpin for SigPayload
impl UnwindSafe for SigPayload
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