Struct rust_tdlib::types::SendPaymentForm
source · [−]pub struct SendPaymentForm { /* private fields */ }Expand description
Sends a filled-out payment form to the bot for final verification
Implementations
sourceimpl SendPaymentForm
impl SendPaymentForm
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> SendPaymentFormBuilder
pub fn chat_id(&self) -> i64
pub fn message_id(&self) -> i64
pub fn payment_form_id(&self) -> i64
pub fn order_info_id(&self) -> &String
pub fn shipping_option_id(&self) -> &String
pub fn credentials(&self) -> &InputCredentials
pub fn tip_amount(&self) -> i64
Trait Implementations
sourceimpl AsRef<SendPaymentForm> for SendPaymentForm
impl AsRef<SendPaymentForm> for SendPaymentForm
sourcefn as_ref(&self) -> &SendPaymentForm
fn as_ref(&self) -> &SendPaymentForm
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for SendPaymentForm
impl Clone for SendPaymentForm
sourcefn clone(&self) -> SendPaymentForm
fn clone(&self) -> SendPaymentForm
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SendPaymentForm
impl Debug for SendPaymentForm
sourceimpl Default for SendPaymentForm
impl Default for SendPaymentForm
sourcefn default() -> SendPaymentForm
fn default() -> SendPaymentForm
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SendPaymentForm
impl<'de> Deserialize<'de> for SendPaymentForm
sourcefn 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
sourceimpl Serialize for SendPaymentForm
impl Serialize for SendPaymentForm
Auto Trait Implementations
impl RefUnwindSafe for SendPaymentForm
impl Send for SendPaymentForm
impl Sync for SendPaymentForm
impl Unpin for SendPaymentForm
impl UnwindSafe for SendPaymentForm
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more