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