pub struct AccountRequirementsError {
pub code: AccountRequirementsErrorCode,
pub reason: String,
pub requirement: String,
}
Fields§
§code: AccountRequirementsErrorCode
The code for the type of error.
reason: String
An informative message that indicates the error type and provides additional details about the error.
requirement: String
The specific user onboarding requirement field (in the requirements hash) that needs to be resolved.
Trait Implementations§
source§impl Clone for AccountRequirementsError
impl Clone for AccountRequirementsError
source§fn clone(&self) -> AccountRequirementsError
fn clone(&self) -> AccountRequirementsError
Returns a copy of the value. Read more
1.0.0 · 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 AccountRequirementsError
impl Debug for AccountRequirementsError
source§impl Default for AccountRequirementsError
impl Default for AccountRequirementsError
source§fn default() -> AccountRequirementsError
fn default() -> AccountRequirementsError
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AccountRequirementsError
impl<'de> Deserialize<'de> for AccountRequirementsError
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 RefUnwindSafe for AccountRequirementsError
impl Send for AccountRequirementsError
impl Sync for AccountRequirementsError
impl Unpin for AccountRequirementsError
impl UnwindSafe for AccountRequirementsError
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