pub struct PermitBatchTransferFrom {
pub permitted: Vec<TokenPermissions>,
pub nonce: Uint256,
pub deadline: Uint256,
pub spender: [u8; 20],
}Expand description
A batch signature transfer permit.
Fields§
§permitted: Vec<TokenPermissions>Permitted tokens and amounts.
nonce: Uint256Unique nonce (uint256).
deadline: Uint256Signature deadline (uint256).
spender: [u8; 20]Address allowed to execute the transfer.
Implementations§
Source§impl PermitBatchTransferFrom
impl PermitBatchTransferFrom
Sourcepub fn struct_hash(&self) -> [u8; 32]
pub fn struct_hash(&self) -> [u8; 32]
Compute the EIP-712 struct hash.
Trait Implementations§
Source§impl Clone for PermitBatchTransferFrom
impl Clone for PermitBatchTransferFrom
Source§fn clone(&self) -> PermitBatchTransferFrom
fn clone(&self) -> PermitBatchTransferFrom
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 PermitBatchTransferFrom
impl Debug for PermitBatchTransferFrom
Source§impl PartialEq for PermitBatchTransferFrom
impl PartialEq for PermitBatchTransferFrom
impl Eq for PermitBatchTransferFrom
impl StructuralPartialEq for PermitBatchTransferFrom
Auto Trait Implementations§
impl Freeze for PermitBatchTransferFrom
impl RefUnwindSafe for PermitBatchTransferFrom
impl Send for PermitBatchTransferFrom
impl Sync for PermitBatchTransferFrom
impl Unpin for PermitBatchTransferFrom
impl UnsafeUnpin for PermitBatchTransferFrom
impl UnwindSafe for PermitBatchTransferFrom
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