Skip to main content

ferrisgram/helpers/
encrypted_passport_element.rs

1// WARNING: THIS CODE IS AUTOGENERATED.
2// DO NOT EDIT!!!
3
4#![allow(clippy::too_many_arguments, clippy::new_without_default)]
5use crate::types::EncryptedPassportElement;
6
7impl EncryptedPassportElement {
8    /// This function creates an empty struct for the object EncryptedPassportElement.
9    pub fn new(r#type: String, hash: String) -> Self {
10        Self {
11            r#type,
12            data: None,
13            phone_number: None,
14            email: None,
15            files: None,
16            front_side: None,
17            reverse_side: None,
18            selfie: None,
19            translation: None,
20            hash,
21        }
22    }
23}