[][src]Struct fints::dialog::Dialog

pub struct Dialog {
    pub bank_code: u32,
    pub username: String,
    pub pin: String,
    pub customer_system_id: String,
    pub message_no: u16,
    pub tan_methods: Vec<String>,
}

Fields

bank_code: u32

Bank code or "Bankleitzahl" (blz).

username: String

Username or identification number.

pin: String

Pin or password.

customer_system_id: String

The customer_system_id starts at 0 (as per C.8) and will be assigned by the bank on first sync.

message_no: u16

The message_no starts at 1 and will be incremented for every message sent.

tan_methods: Vec<String>

List of TAN methods as returned by the bank on first sync.

Methods

impl Dialog[src]

pub fn new(bank_code: u32, username: &str, pin: &str) -> Dialog[src]

pub fn get_sync_message(&self) -> String[src]

pub fn init(&mut self)[src]

Trait Implementations

impl Debug for Dialog[src]

Auto Trait Implementations

impl Send for Dialog

impl Sync for Dialog

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.