pub enum Active {
Active,
Inactive,
}Expand description
This attribute indicates the status of Akahu’s connection to this account.
It is possible for Akahu to lose the ability to authenticate with a financial institution if the user revokes Akahu’s access directly via their institution, or changes their login credentials, which in some cases can cause our long-lived access to be revoked.
Variants§
Active
Akahu can authenticate with the institution to retrieve data and/or initiate payments for this account.
Inactive
Akahu no longer has access to this account. Your application will still be able to access Akahu’s cached copy of data for this account, but this will no longer be updated by refreshes. Write actions such as payments or transfers will no longer be available. Once an account is assigned the INACTIVE status, it will stay this way until the user re-establishes the connection. When your application observes an account with a status of INACTIVE, the user should be directed back to the Akahu OAuth flow or to [https://my.akahu.nz/connections] where they will be prompted to re-establish the connection.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Active
impl<'de> Deserialize<'de> for Active
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>,
impl Eq for Active
impl StructuralPartialEq for Active
Auto Trait Implementations§
impl Freeze for Active
impl RefUnwindSafe for Active
impl Send for Active
impl Sync for Active
impl Unpin for Active
impl UnwindSafe for Active
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.