pub struct InputPassportElementUtilityBill { /* private fields */ }
Expand description
A Telegram Passport element to be saved containing the user’s utility bill
Implementations§
Source§impl InputPassportElementUtilityBill
impl InputPassportElementUtilityBill
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> InputPassportElementUtilityBillBuilder
pub fn utility_bill(&self) -> &InputPersonalDocument
Trait Implementations§
Source§impl AsRef<InputPassportElementUtilityBill> for InputPassportElementUtilityBill
impl AsRef<InputPassportElementUtilityBill> for InputPassportElementUtilityBill
Source§fn as_ref(&self) -> &InputPassportElementUtilityBill
fn as_ref(&self) -> &InputPassportElementUtilityBill
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for InputPassportElementUtilityBill
impl Clone for InputPassportElementUtilityBill
Source§fn clone(&self) -> InputPassportElementUtilityBill
fn clone(&self) -> InputPassportElementUtilityBill
Returns a copy 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 Default for InputPassportElementUtilityBill
impl Default for InputPassportElementUtilityBill
Source§fn default() -> InputPassportElementUtilityBill
fn default() -> InputPassportElementUtilityBill
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InputPassportElementUtilityBill
impl<'de> Deserialize<'de> for InputPassportElementUtilityBill
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 TDInputPassportElement for InputPassportElementUtilityBill
Auto Trait Implementations§
impl Freeze for InputPassportElementUtilityBill
impl RefUnwindSafe for InputPassportElementUtilityBill
impl Send for InputPassportElementUtilityBill
impl Sync for InputPassportElementUtilityBill
impl Unpin for InputPassportElementUtilityBill
impl UnwindSafe for InputPassportElementUtilityBill
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