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