Struct stripe::ExternalAccountRequirements
source · pub struct ExternalAccountRequirements {
pub currently_due: Option<Vec<String>>,
pub errors: Option<Vec<AccountRequirementsError>>,
pub past_due: Option<Vec<String>>,
pub pending_verification: Option<Vec<String>>,
}
Fields§
§currently_due: Option<Vec<String>>
Fields that need to be collected to keep the external account enabled.
If not collected by current_deadline
, these fields appear in past_due
as well, and the account is disabled.
errors: Option<Vec<AccountRequirementsError>>
Fields that are currently_due
and need to be collected again because validation or verification failed.
past_due: Option<Vec<String>>
Fields that weren’t collected by current_deadline
.
These fields need to be collected to enable the external account.
pending_verification: Option<Vec<String>>
Fields that may become required depending on the results of verification or review.
Will be an empty array unless an asynchronous verification is pending.
If verification fails, these fields move to eventually_due
, currently_due
, or past_due
.
Trait Implementations§
source§impl Clone for ExternalAccountRequirements
impl Clone for ExternalAccountRequirements
source§fn clone(&self) -> ExternalAccountRequirements
fn clone(&self) -> ExternalAccountRequirements
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 ExternalAccountRequirements
impl Debug for ExternalAccountRequirements
source§impl Default for ExternalAccountRequirements
impl Default for ExternalAccountRequirements
source§fn default() -> ExternalAccountRequirements
fn default() -> ExternalAccountRequirements
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ExternalAccountRequirements
impl<'de> Deserialize<'de> for ExternalAccountRequirements
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 ExternalAccountRequirements
impl Send for ExternalAccountRequirements
impl Sync for ExternalAccountRequirements
impl Unpin for ExternalAccountRequirements
impl UnwindSafe for ExternalAccountRequirements
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