pub struct MessageActionPaymentSentMe {
pub recurring_init: bool,
pub recurring_used: bool,
pub currency: String,
pub total_amount: i64,
pub payload: Vec<u8>,
pub info: Option<PaymentRequestedInfo>,
pub shipping_option_id: Option<String>,
pub charge: PaymentCharge,
pub subscription_until_date: Option<i32>,
}Expand description
Generated from:
messageActionPaymentSentMe#ffa00ccc flags:# recurring_init:flags.2?true recurring_used:flags.3?true currency:string total_amount:long payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string charge:PaymentCharge subscription_until_date:flags.4?int = MessageActionFields§
§recurring_init: bool§recurring_used: bool§currency: String§total_amount: i64§payload: Vec<u8>§info: Option<PaymentRequestedInfo>§shipping_option_id: Option<String>§charge: PaymentCharge§subscription_until_date: Option<i32>Trait Implementations§
Source§impl Clone for MessageActionPaymentSentMe
impl Clone for MessageActionPaymentSentMe
Source§fn clone(&self) -> MessageActionPaymentSentMe
fn clone(&self) -> MessageActionPaymentSentMe
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 MessageActionPaymentSentMe
impl Debug for MessageActionPaymentSentMe
Source§impl Deserializable for MessageActionPaymentSentMe
impl Deserializable for MessageActionPaymentSentMe
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<MessageActionPaymentSentMe> for MessageAction
impl From<MessageActionPaymentSentMe> for MessageAction
Source§fn from(x: MessageActionPaymentSentMe) -> Self
fn from(x: MessageActionPaymentSentMe) -> Self
Converts to this type from the input type.
Source§impl Identifiable for MessageActionPaymentSentMe
impl Identifiable for MessageActionPaymentSentMe
Source§const CONSTRUCTOR_ID: u32 = 0xffa00ccc
const CONSTRUCTOR_ID: u32 = 0xffa00ccc
The constructor ID as specified in the TL schema.
Source§impl TryFrom<MessageAction> for MessageActionPaymentSentMe
impl TryFrom<MessageAction> for MessageActionPaymentSentMe
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
impl StructuralPartialEq for MessageActionPaymentSentMe
Auto Trait Implementations§
impl Freeze for MessageActionPaymentSentMe
impl RefUnwindSafe for MessageActionPaymentSentMe
impl Send for MessageActionPaymentSentMe
impl Sync for MessageActionPaymentSentMe
impl Unpin for MessageActionPaymentSentMe
impl UnsafeUnpin for MessageActionPaymentSentMe
impl UnwindSafe for MessageActionPaymentSentMe
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