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