pub struct PassportElementTypeRentalAgreement { /* private fields */ }
Expand description
A Telegram Passport element containing the user’s rental agreement
Implementations§
Trait Implementations§
Source§impl AsRef<PassportElementTypeRentalAgreement> for PassportElementTypeRentalAgreement
impl AsRef<PassportElementTypeRentalAgreement> for PassportElementTypeRentalAgreement
Source§fn as_ref(&self) -> &PassportElementTypeRentalAgreement
fn as_ref(&self) -> &PassportElementTypeRentalAgreement
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for PassportElementTypeRentalAgreement
impl Clone for PassportElementTypeRentalAgreement
Source§fn clone(&self) -> PassportElementTypeRentalAgreement
fn clone(&self) -> PassportElementTypeRentalAgreement
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for PassportElementTypeRentalAgreement
impl Default for PassportElementTypeRentalAgreement
Source§fn default() -> PassportElementTypeRentalAgreement
fn default() -> PassportElementTypeRentalAgreement
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PassportElementTypeRentalAgreement
impl<'de> Deserialize<'de> for PassportElementTypeRentalAgreement
Source§fn 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
impl TDPassportElementType for PassportElementTypeRentalAgreement
Auto Trait Implementations§
impl Freeze for PassportElementTypeRentalAgreement
impl RefUnwindSafe for PassportElementTypeRentalAgreement
impl Send for PassportElementTypeRentalAgreement
impl Sync for PassportElementTypeRentalAgreement
impl Unpin for PassportElementTypeRentalAgreement
impl UnwindSafe for PassportElementTypeRentalAgreement
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