pub struct InputPaymentCredentials {
pub save: bool,
pub data: DataJson,
}Expand description
Generated from:
inputPaymentCredentials#3417d728 flags:# save:flags.0?true data:DataJSON = InputPaymentCredentialsFields§
§save: bool§data: DataJsonTrait Implementations§
Source§impl Clone for InputPaymentCredentials
impl Clone for InputPaymentCredentials
Source§fn clone(&self) -> InputPaymentCredentials
fn clone(&self) -> InputPaymentCredentials
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 InputPaymentCredentials
impl Debug for InputPaymentCredentials
Source§impl Deserializable for InputPaymentCredentials
impl Deserializable for InputPaymentCredentials
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<InputPaymentCredentials> for InputPaymentCredentials
impl From<InputPaymentCredentials> for InputPaymentCredentials
Source§fn from(x: InputPaymentCredentials) -> Self
fn from(x: InputPaymentCredentials) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputPaymentCredentials
impl Identifiable for InputPaymentCredentials
Source§const CONSTRUCTOR_ID: u32 = 0x3417d728
const CONSTRUCTOR_ID: u32 = 0x3417d728
The constructor ID as specified in the TL schema.
Source§impl PartialEq for InputPaymentCredentials
impl PartialEq for InputPaymentCredentials
Source§impl TryFrom<InputPaymentCredentials> for InputPaymentCredentials
impl TryFrom<InputPaymentCredentials> for InputPaymentCredentials
Source§type Error = InputPaymentCredentials
type Error = InputPaymentCredentials
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputPaymentCredentials
Auto Trait Implementations§
impl Freeze for InputPaymentCredentials
impl RefUnwindSafe for InputPaymentCredentials
impl Send for InputPaymentCredentials
impl Sync for InputPaymentCredentials
impl Unpin for InputPaymentCredentials
impl UnsafeUnpin for InputPaymentCredentials
impl UnwindSafe for InputPaymentCredentials
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