pub struct DirectorInfo {
pub leader_name: Option<String>,
pub position_name: Option<String>,
pub begin_date: Option<u64>,
pub leader_gender: Option<String>,
pub leader_age: Option<String>,
pub highest_education: Option<String>,
pub issue_date: Option<u64>,
pub shares: Option<u64>,
pub annual_salary: Option<u64>,
pub cs_leader_name: Option<String>,
}Expand description
////// F10 company director/manager info, CMD=6952. Source: FutuOpenD/Src/NNProtoFile/Server/PB/Quote/F10_svc.proto:114-164
Fields§
§leader_name: Option<String>§position_name: Option<String>§begin_date: Option<u64>§leader_gender: Option<String>§leader_age: Option<String>§highest_education: Option<String>§issue_date: Option<u64>§annual_salary: Option<u64>§cs_leader_name: Option<String>Implementations§
Source§impl DirectorInfo
impl DirectorInfo
Sourcepub fn leader_name(&self) -> &str
pub fn leader_name(&self) -> &str
Returns the value of leader_name, or the default value if leader_name is unset.
Sourcepub fn position_name(&self) -> &str
pub fn position_name(&self) -> &str
Returns the value of position_name, or the default value if position_name is unset.
Sourcepub fn begin_date(&self) -> u64
pub fn begin_date(&self) -> u64
Returns the value of begin_date, or the default value if begin_date is unset.
Sourcepub fn leader_gender(&self) -> &str
pub fn leader_gender(&self) -> &str
Returns the value of leader_gender, or the default value if leader_gender is unset.
Sourcepub fn leader_age(&self) -> &str
pub fn leader_age(&self) -> &str
Returns the value of leader_age, or the default value if leader_age is unset.
Sourcepub fn highest_education(&self) -> &str
pub fn highest_education(&self) -> &str
Returns the value of highest_education, or the default value if highest_education is unset.
Sourcepub fn issue_date(&self) -> u64
pub fn issue_date(&self) -> u64
Returns the value of issue_date, or the default value if issue_date is unset.
Returns the value of shares, or the default value if shares is unset.
Sourcepub fn annual_salary(&self) -> u64
pub fn annual_salary(&self) -> u64
Returns the value of annual_salary, or the default value if annual_salary is unset.
Sourcepub fn cs_leader_name(&self) -> &str
pub fn cs_leader_name(&self) -> &str
Returns the value of cs_leader_name, or the default value if cs_leader_name is unset.
Trait Implementations§
Source§impl Clone for DirectorInfo
impl Clone for DirectorInfo
Source§fn clone(&self) -> DirectorInfo
fn clone(&self) -> DirectorInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DirectorInfo
impl Debug for DirectorInfo
Source§impl Default for DirectorInfo
impl Default for DirectorInfo
Source§impl Hash for DirectorInfo
impl Hash for DirectorInfo
Source§impl Message for DirectorInfo
impl Message for DirectorInfo
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for DirectorInfo
impl PartialEq for DirectorInfo
impl Eq for DirectorInfo
impl StructuralPartialEq for DirectorInfo
Auto Trait Implementations§
impl Freeze for DirectorInfo
impl RefUnwindSafe for DirectorInfo
impl Send for DirectorInfo
impl Sync for DirectorInfo
impl Unpin for DirectorInfo
impl UnsafeUnpin for DirectorInfo
impl UnwindSafe for DirectorInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.