pub struct KycProfileData {
pub profile_id: String,
pub has_name: bool,
pub has_dob: bool,
pub has_address: bool,
pub has_id_document: bool,
pub has_risk_rating: bool,
pub has_beneficial_owner: bool,
pub is_entity: bool,
pub is_verified: bool,
}Expand description
KYC profile data for validation.
Fields§
§profile_id: StringProfile identifier.
has_name: boolWhether customer name is populated.
has_dob: boolWhether date of birth / incorporation date is populated.
has_address: boolWhether address is populated.
has_id_document: boolWhether ID document is populated.
has_risk_rating: boolWhether risk rating is assigned.
has_beneficial_owner: boolWhether beneficial owner information is populated (for entities).
is_entity: boolWhether the profile is for an entity (vs individual).
is_verified: boolWhether the profile has been reviewed/verified.
Trait Implementations§
Source§impl Clone for KycProfileData
impl Clone for KycProfileData
Source§fn clone(&self) -> KycProfileData
fn clone(&self) -> KycProfileData
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for KycProfileData
impl RefUnwindSafe for KycProfileData
impl Send for KycProfileData
impl Sync for KycProfileData
impl Unpin for KycProfileData
impl UnsafeUnpin for KycProfileData
impl UnwindSafe for KycProfileData
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
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<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.