pub struct PaymentFormMethod {
pub url: String,
pub title: String,
}Expand description
Generated from:
paymentFormMethod#88f8f21b url:string title:string = PaymentFormMethodFields§
§url: String§title: StringTrait Implementations§
Source§impl Clone for PaymentFormMethod
impl Clone for PaymentFormMethod
Source§fn clone(&self) -> PaymentFormMethod
fn clone(&self) -> PaymentFormMethod
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 PaymentFormMethod
impl Debug for PaymentFormMethod
Source§impl Deserializable for PaymentFormMethod
impl Deserializable for PaymentFormMethod
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<PaymentFormMethod> for PaymentFormMethod
impl From<PaymentFormMethod> for PaymentFormMethod
Source§fn from(x: PaymentFormMethod) -> Self
fn from(x: PaymentFormMethod) -> Self
Converts to this type from the input type.
Source§impl Identifiable for PaymentFormMethod
impl Identifiable for PaymentFormMethod
Source§const CONSTRUCTOR_ID: u32 = 0x88f8f21b
const CONSTRUCTOR_ID: u32 = 0x88f8f21b
The constructor ID as specified in the TL schema.
Source§impl PartialEq for PaymentFormMethod
impl PartialEq for PaymentFormMethod
Source§impl Serializable for PaymentFormMethod
impl Serializable for PaymentFormMethod
Source§impl TryFrom<PaymentFormMethod> for PaymentFormMethod
impl TryFrom<PaymentFormMethod> for PaymentFormMethod
Source§type Error = PaymentFormMethod
type Error = PaymentFormMethod
The type returned in the event of a conversion error.
impl StructuralPartialEq for PaymentFormMethod
Auto Trait Implementations§
impl Freeze for PaymentFormMethod
impl RefUnwindSafe for PaymentFormMethod
impl Send for PaymentFormMethod
impl Sync for PaymentFormMethod
impl Unpin for PaymentFormMethod
impl UnsafeUnpin for PaymentFormMethod
impl UnwindSafe for PaymentFormMethod
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