pub struct RedPacketDto { /* private fields */ }Implementations§
Source§impl RedPacketDto
impl RedPacketDto
pub fn chain<T>(self, value: T) -> Self
pub fn claimed_amount<T>(self, value: T) -> Self
pub fn claimed_count<T>(self, value: T) -> Self
pub fn created_at<T>(self, value: T) -> Self
pub fn creator<T>(self, value: T) -> Self
pub fn expiration<T>(self, value: T) -> Self
pub fn expired<T>(self, value: T) -> Self
pub fn expired_at<T>(self, value: T) -> Self
pub fn id<T>(self, value: T) -> Self
pub fn max_claims<T>(self, value: T) -> Self
pub fn memo<T>(self, value: T) -> Self
pub fn mint<T>(self, value: T) -> Self
pub fn refunded_amount<T>(self, value: T) -> Self
pub fn total_amount<T>(self, value: T) -> Self
pub fn tx_hash<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for RedPacketDto
impl Clone for RedPacketDto
Source§fn clone(&self) -> RedPacketDto
fn clone(&self) -> RedPacketDto
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 RedPacketDto
impl Debug for RedPacketDto
Source§impl Default for RedPacketDto
impl Default for RedPacketDto
Source§impl From<RedPacketDto> for RedPacketDto
impl From<RedPacketDto> for RedPacketDto
Source§fn from(value: RedPacketDto) -> Self
fn from(value: RedPacketDto) -> Self
Converts to this type from the input type.
Source§impl TryFrom<RedPacketDto> for RedPacketDto
impl TryFrom<RedPacketDto> for RedPacketDto
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: RedPacketDto) -> Result<Self, ConversionError>
fn try_from(value: RedPacketDto) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for RedPacketDto
impl RefUnwindSafe for RedPacketDto
impl Send for RedPacketDto
impl Sync for RedPacketDto
impl Unpin for RedPacketDto
impl UnwindSafe for RedPacketDto
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