pub struct EddaApplication {
pub id: String,
pub flow_id: String,
pub name: String,
pub currency: String,
pub status: AuthorizationStatus,
pub status_raw: Option<i32>,
pub message: String,
pub created_at: Option<OffsetDateTime>,
pub updated_at: Option<OffsetDateTime>,
}Expand description
An eDDA authorization application of a bank card
Fields§
§id: StringApplication ID
flow_id: StringAuthorization flow: hk_edda (authorized at the bank) or hk_sdda
(authorized in the app)
name: StringDisplay name of the authorization
currency: StringAuthorized currency
status: AuthorizationStatusApplication status
status_raw: Option<i32>The server’s numeric code of status, also when it is a code this SDK
does not know (status is then Unknown); None when the value is
missing or is not a code
message: StringFailure reason (empty unless the application failed)
created_at: Option<OffsetDateTime>Time the application was filed (None when not set)
updated_at: Option<OffsetDateTime>Time the application was last updated (None when not set)
Implementations§
Source§impl EddaApplication
impl EddaApplication
pub fn serialize<__S>(
__self: &EddaApplication,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl<'de> EddaApplicationwhere
EddaApplication: Default,
impl<'de> EddaApplicationwhere
EddaApplication: Default,
pub fn deserialize<__D>(
__deserializer: __D,
) -> Result<EddaApplication, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl Clone for EddaApplication
impl Clone for EddaApplication
Source§impl Debug for EddaApplication
impl Debug for EddaApplication
Source§impl Default for EddaApplication
impl Default for EddaApplication
Source§impl<'de> Deserialize<'de> for EddaApplication
impl<'de> Deserialize<'de> for EddaApplication
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EddaApplication
impl RefUnwindSafe for EddaApplication
impl Send for EddaApplication
impl Sync for EddaApplication
impl Unpin for EddaApplication
impl UnsafeUnpin for EddaApplication
impl UnwindSafe for EddaApplication
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more