pub struct RedPacketClaim { /* private fields */ }Implementations§
Source§impl RedPacketClaim
impl RedPacketClaim
pub fn amount<T>(self, value: T) -> Self
pub fn chain<T>(self, value: T) -> Self
pub fn claimed_at<T>(self, value: T) -> Self
pub fn claimer<T>(self, value: T) -> Self
pub fn creator<T>(self, value: T) -> Self
pub fn mint<T>(self, value: T) -> Self
pub fn packet_id<T>(self, value: T) -> Self
pub fn tx_hash<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for RedPacketClaim
impl Clone for RedPacketClaim
Source§fn clone(&self) -> RedPacketClaim
fn clone(&self) -> RedPacketClaim
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 RedPacketClaim
impl Debug for RedPacketClaim
Source§impl Default for RedPacketClaim
impl Default for RedPacketClaim
Source§impl From<RedPacketClaim> for RedPacketClaim
impl From<RedPacketClaim> for RedPacketClaim
Source§fn from(value: RedPacketClaim) -> Self
fn from(value: RedPacketClaim) -> Self
Converts to this type from the input type.
Source§impl TryFrom<RedPacketClaim> for RedPacketClaim
impl TryFrom<RedPacketClaim> for RedPacketClaim
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: RedPacketClaim) -> Result<Self, ConversionError>
fn try_from(value: RedPacketClaim) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for RedPacketClaim
impl RefUnwindSafe for RedPacketClaim
impl Send for RedPacketClaim
impl Sync for RedPacketClaim
impl Unpin for RedPacketClaim
impl UnsafeUnpin for RedPacketClaim
impl UnwindSafe for RedPacketClaim
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