pub struct Disclosures {
pub is_control_person: bool,
pub is_affiliated_exchange_or_finra: bool,
pub is_politically_exposed: bool,
pub immediate_family_exposed: bool,
pub employment_status: Option<String>,
pub employer_name: Option<String>,
pub employer_address: Option<String>,
pub employment_position: Option<String>,
}Expand description
Disclosures for broker account.
Fields§
§is_control_person: boolIs the account holder a control person.
is_affiliated_exchange_or_finra: boolIs affiliated with exchange or FINRA.
is_politically_exposed: boolIs politically exposed.
immediate_family_exposed: boolHas immediate family exposed.
employment_status: Option<String>Employment status.
employer_name: Option<String>Employer name.
employer_address: Option<String>Employer address.
employment_position: Option<String>Employment position.
Implementations§
Source§impl Disclosures
impl Disclosures
Sourcepub fn new() -> Disclosures
pub fn new() -> Disclosures
Create new disclosures with all false.
Sourcepub fn control_person(self, is_control: bool) -> Disclosures
pub fn control_person(self, is_control: bool) -> Disclosures
Set control person status.
Sourcepub fn employment(
self,
status: &str,
employer: &str,
position: &str,
) -> Disclosures
pub fn employment( self, status: &str, employer: &str, position: &str, ) -> Disclosures
Set employment information.
Trait Implementations§
Source§impl Clone for Disclosures
impl Clone for Disclosures
Source§fn clone(&self) -> Disclosures
fn clone(&self) -> Disclosures
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 moreSource§impl Debug for Disclosures
impl Debug for Disclosures
Source§impl Default for Disclosures
impl Default for Disclosures
Source§fn default() -> Disclosures
fn default() -> Disclosures
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Disclosures
impl<'de> Deserialize<'de> for Disclosures
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Disclosures, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Disclosures, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for Disclosures
impl Serialize for Disclosures
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for Disclosures
impl RefUnwindSafe for Disclosures
impl Send for Disclosures
impl Sync for Disclosures
impl Unpin for Disclosures
impl UnwindSafe for Disclosures
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