Struct stripe::VerificationDocumentParams
source · pub struct VerificationDocumentParams {
pub back: Option<String>,
pub front: Option<String>,
}
Fields§
§back: Option<String>
The back of an ID returned by a file upload with a purpose
value of identity_document
.
The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
front: Option<String>
The front of an ID returned by a file upload with a purpose
value of identity_document
.
The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
Trait Implementations§
source§impl Clone for VerificationDocumentParams
impl Clone for VerificationDocumentParams
source§fn clone(&self) -> VerificationDocumentParams
fn clone(&self) -> VerificationDocumentParams
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 VerificationDocumentParams
impl Debug for VerificationDocumentParams
source§impl Default for VerificationDocumentParams
impl Default for VerificationDocumentParams
source§fn default() -> VerificationDocumentParams
fn default() -> VerificationDocumentParams
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for VerificationDocumentParams
impl<'de> Deserialize<'de> for VerificationDocumentParams
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 Freeze for VerificationDocumentParams
impl RefUnwindSafe for VerificationDocumentParams
impl Send for VerificationDocumentParams
impl Sync for VerificationDocumentParams
impl Unpin for VerificationDocumentParams
impl UnwindSafe for VerificationDocumentParams
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