pub struct ClaimRedPacketResponse {
pub tx_serialize: String,
}Expand description
Claim red packet response
JSON schema
{
"description": "Claim red packet response",
"type": "object",
"required": [
"txSerialize"
],
"properties": {
"txSerialize": {
"description": "DTO.RED_PACKET.SERIALIZED_TX",
"examples": [
"AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEDRg..."
],
"type": "string"
}
}
}Fields§
§tx_serialize: StringDTO.RED_PACKET.SERIALIZED_TX
Implementations§
Source§impl ClaimRedPacketResponse
impl ClaimRedPacketResponse
pub fn builder() -> ClaimRedPacketResponse
Trait Implementations§
Source§impl Clone for ClaimRedPacketResponse
impl Clone for ClaimRedPacketResponse
Source§fn clone(&self) -> ClaimRedPacketResponse
fn clone(&self) -> ClaimRedPacketResponse
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 ClaimRedPacketResponse
impl Debug for ClaimRedPacketResponse
Source§impl<'de> Deserialize<'de> for ClaimRedPacketResponse
impl<'de> Deserialize<'de> for ClaimRedPacketResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&ClaimRedPacketResponse> for ClaimRedPacketResponse
impl From<&ClaimRedPacketResponse> for ClaimRedPacketResponse
Source§fn from(value: &ClaimRedPacketResponse) -> Self
fn from(value: &ClaimRedPacketResponse) -> Self
Converts to this type from the input type.
Source§impl From<ClaimRedPacketResponse> for ClaimRedPacketResponse
impl From<ClaimRedPacketResponse> for ClaimRedPacketResponse
Source§fn from(value: ClaimRedPacketResponse) -> Self
fn from(value: ClaimRedPacketResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for ClaimRedPacketResponse
impl Serialize for ClaimRedPacketResponse
Source§impl TryFrom<ClaimRedPacketResponse> for ClaimRedPacketResponse
impl TryFrom<ClaimRedPacketResponse> for ClaimRedPacketResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ClaimRedPacketResponse) -> Result<Self, ConversionError>
fn try_from(value: ClaimRedPacketResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ClaimRedPacketResponse
impl RefUnwindSafe for ClaimRedPacketResponse
impl Send for ClaimRedPacketResponse
impl Sync for ClaimRedPacketResponse
impl Unpin for ClaimRedPacketResponse
impl UnsafeUnpin for ClaimRedPacketResponse
impl UnwindSafe for ClaimRedPacketResponse
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