pub struct InputPaymentCredentialsSaved {
pub id: String,
pub tmp_password: Vec<u8>,
}Expand description
Generated from:
inputPaymentCredentialsSaved#c10eb2cf id:string tmp_password:bytes = InputPaymentCredentialsFields§
§id: String§tmp_password: Vec<u8>Trait Implementations§
Source§impl Clone for InputPaymentCredentialsSaved
impl Clone for InputPaymentCredentialsSaved
Source§fn clone(&self) -> InputPaymentCredentialsSaved
fn clone(&self) -> InputPaymentCredentialsSaved
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 InputPaymentCredentialsSaved
impl Debug for InputPaymentCredentialsSaved
Source§impl Deserializable for InputPaymentCredentialsSaved
impl Deserializable for InputPaymentCredentialsSaved
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<InputPaymentCredentialsSaved> for InputPaymentCredentials
impl From<InputPaymentCredentialsSaved> for InputPaymentCredentials
Source§fn from(x: InputPaymentCredentialsSaved) -> Self
fn from(x: InputPaymentCredentialsSaved) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputPaymentCredentialsSaved
impl Identifiable for InputPaymentCredentialsSaved
Source§const CONSTRUCTOR_ID: u32 = 0xc10eb2cf
const CONSTRUCTOR_ID: u32 = 0xc10eb2cf
The constructor ID as specified in the TL schema.
Source§impl PartialEq for InputPaymentCredentialsSaved
impl PartialEq for InputPaymentCredentialsSaved
Source§fn eq(&self, other: &InputPaymentCredentialsSaved) -> bool
fn eq(&self, other: &InputPaymentCredentialsSaved) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<InputPaymentCredentials> for InputPaymentCredentialsSaved
impl TryFrom<InputPaymentCredentials> for InputPaymentCredentialsSaved
Source§type Error = InputPaymentCredentials
type Error = InputPaymentCredentials
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputPaymentCredentialsSaved
Auto Trait Implementations§
impl Freeze for InputPaymentCredentialsSaved
impl RefUnwindSafe for InputPaymentCredentialsSaved
impl Send for InputPaymentCredentialsSaved
impl Sync for InputPaymentCredentialsSaved
impl Unpin for InputPaymentCredentialsSaved
impl UnsafeUnpin for InputPaymentCredentialsSaved
impl UnwindSafe for InputPaymentCredentialsSaved
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