pub struct FtnCompleted {
pub id: String,
pub ref_id: Option<String>,
pub ssn: Option<Hetu>,
pub name: String,
pub given_name: String,
pub surname: String,
pub phone: Option<String>,
pub email: Option<Email>,
pub address: Option<String>,
pub birth_date: Option<NaiveDate>,
pub pid: Option<String>,
pub bank_id: Option<String>,
}Expand description
Returned when the FTN session has completed successfully.
Fields§
§id: String§ref_id: Option<String>§ssn: Option<Hetu>Finnish personal identity code (henkilötunnus). May be absent depending on the provider.
name: String§given_name: String§surname: String§phone: Option<String>§email: Option<Email>§address: Option<String>§birth_date: Option<NaiveDate>§pid: Option<String>§bank_id: Option<String>Trait Implementations§
Source§impl Clone for FtnCompleted
impl Clone for FtnCompleted
Source§fn clone(&self) -> FtnCompleted
fn clone(&self) -> FtnCompleted
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FtnCompleted
impl Debug for FtnCompleted
Source§impl<'de> Deserialize<'de> for FtnCompleted
impl<'de> Deserialize<'de> for FtnCompleted
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
Auto Trait Implementations§
impl Freeze for FtnCompleted
impl RefUnwindSafe for FtnCompleted
impl Send for FtnCompleted
impl Sync for FtnCompleted
impl Unpin for FtnCompleted
impl UnsafeUnpin for FtnCompleted
impl UnwindSafe for FtnCompleted
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