pub struct MessageActionPaymentRefunded {
pub peer: Peer,
pub currency: String,
pub total_amount: i64,
pub payload: Option<Vec<u8>>,
pub charge: PaymentCharge,
}Expand description
Generated from:
messageActionPaymentRefunded#41b3e202 flags:# peer:Peer currency:string total_amount:long payload:flags.0?bytes charge:PaymentCharge = MessageActionFields§
§peer: Peer§currency: String§total_amount: i64§payload: Option<Vec<u8>>§charge: PaymentChargeTrait Implementations§
Source§impl Clone for MessageActionPaymentRefunded
impl Clone for MessageActionPaymentRefunded
Source§fn clone(&self) -> MessageActionPaymentRefunded
fn clone(&self) -> MessageActionPaymentRefunded
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 MessageActionPaymentRefunded
impl Debug for MessageActionPaymentRefunded
Source§impl Deserializable for MessageActionPaymentRefunded
impl Deserializable for MessageActionPaymentRefunded
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<MessageActionPaymentRefunded> for MessageAction
impl From<MessageActionPaymentRefunded> for MessageAction
Source§fn from(x: MessageActionPaymentRefunded) -> Self
fn from(x: MessageActionPaymentRefunded) -> Self
Converts to this type from the input type.
Source§impl Identifiable for MessageActionPaymentRefunded
impl Identifiable for MessageActionPaymentRefunded
Source§const CONSTRUCTOR_ID: u32 = 0x41b3e202
const CONSTRUCTOR_ID: u32 = 0x41b3e202
The constructor ID as specified in the TL schema.
Source§impl PartialEq for MessageActionPaymentRefunded
impl PartialEq for MessageActionPaymentRefunded
Source§fn eq(&self, other: &MessageActionPaymentRefunded) -> bool
fn eq(&self, other: &MessageActionPaymentRefunded) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<MessageAction> for MessageActionPaymentRefunded
impl TryFrom<MessageAction> for MessageActionPaymentRefunded
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
impl StructuralPartialEq for MessageActionPaymentRefunded
Auto Trait Implementations§
impl Freeze for MessageActionPaymentRefunded
impl RefUnwindSafe for MessageActionPaymentRefunded
impl Send for MessageActionPaymentRefunded
impl Sync for MessageActionPaymentRefunded
impl Unpin for MessageActionPaymentRefunded
impl UnsafeUnpin for MessageActionPaymentRefunded
impl UnwindSafe for MessageActionPaymentRefunded
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