Skip to main content

C2s

Struct C2s 

Source
pub struct C2s {
Show 34 fields pub fund_types: Vec<i32>, pub risk_levels: Vec<i32>, pub currency_units: Vec<i32>, pub company_symbol_ids: Vec<String>, pub use_selected_funds: Option<bool>, pub selected_fund_ids: Vec<i64>, pub data_from: i32, pub data_max_count: i32, pub sort: Option<SortCondition>, pub is_dividend: Option<bool>, pub fund_theme_ids: Vec<i64>, pub fund_set_ids: Vec<i64>, pub inception_over_months: Option<i32>, pub field_ids: Vec<i32>, pub source_types: Vec<i32>, pub holding_stock_id: Option<u64>, pub include_no_search: Option<bool>, pub all_indicator_strategies: Option<bool>, pub indicator_strategies: Vec<IndicatorStrategyCondition>, pub field_intervals: Vec<FieldIntervalScreen>, pub investment_advice: Option<bool>, pub fund_tags: Vec<i32>, pub invest_area_ids: Vec<i64>, pub invest_theme_ids: Vec<i64>, pub dividend_types: Vec<i32>, pub immigrant_investment: Option<bool>, pub assets_size_currency: Option<i32>, pub feature_tags: Vec<i32>, pub trade_types: Vec<i32>, pub three_year_ratings: Vec<i32>, pub sorts: Vec<SortCondition>, pub investment_object_areas: Vec<i32>, pub auto_invest: Option<bool>, pub extension_version: u32,
}

Fields§

§fund_types: Vec<i32>§risk_levels: Vec<i32>§currency_units: Vec<i32>§company_symbol_ids: Vec<String>§use_selected_funds: Option<bool>§selected_fund_ids: Vec<i64>§data_from: i32§data_max_count: i32

1..500.

§sort: Option<SortCondition>

Fallback sort; ignored when sorts (tag 31) is non-empty.

§is_dividend: Option<bool>§fund_theme_ids: Vec<i64>§fund_set_ids: Vec<i64>§inception_over_months: Option<i32>§field_ids: Vec<i32>§source_types: Vec<i32>§holding_stock_id: Option<u64>§include_no_search: Option<bool>§all_indicator_strategies: Option<bool>§indicator_strategies: Vec<IndicatorStrategyCondition>§field_intervals: Vec<FieldIntervalScreen>§investment_advice: Option<bool>§fund_tags: Vec<i32>§invest_area_ids: Vec<i64>§invest_theme_ids: Vec<i64>§dividend_types: Vec<i32>§immigrant_investment: Option<bool>§assets_size_currency: Option<i32>§feature_tags: Vec<i32>§trade_types: Vec<i32>§three_year_ratings: Vec<i32>§sorts: Vec<SortCondition>

Source precedence: this list overrides sort (tag 9).

§investment_object_areas: Vec<i32>§auto_invest: Option<bool>§extension_version: u32

Implementations§

Source§

impl C2s

Source

pub fn use_selected_funds(&self) -> bool

Returns the value of use_selected_funds, or the default value if use_selected_funds is unset.

Source

pub fn is_dividend(&self) -> bool

Returns the value of is_dividend, or the default value if is_dividend is unset.

Source

pub fn inception_over_months(&self) -> i32

Returns the value of inception_over_months, or the default value if inception_over_months is unset.

Source

pub fn holding_stock_id(&self) -> u64

Returns the value of holding_stock_id, or the default value if holding_stock_id is unset.

Returns the value of include_no_search, or the default value if include_no_search is unset.

Source

pub fn all_indicator_strategies(&self) -> bool

Returns the value of all_indicator_strategies, or the default value if all_indicator_strategies is unset.

Source

pub fn investment_advice(&self) -> bool

Returns the value of investment_advice, or the default value if investment_advice is unset.

Source

pub fn immigrant_investment(&self) -> bool

Returns the value of immigrant_investment, or the default value if immigrant_investment is unset.

Source

pub fn assets_size_currency(&self) -> i32

Returns the value of assets_size_currency, or the default value if assets_size_currency is unset.

Source

pub fn auto_invest(&self) -> bool

Returns the value of auto_invest, or the default value if auto_invest is unset.

Trait Implementations§

Source§

impl Clone for C2s

Source§

fn clone(&self) -> C2s

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for C2s

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for C2s

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for C2s
where C2s: Default,

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Message for C2s

Source§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
Source§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
Source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where Self: Sized,

Encodes the message to a buffer. Read more
Source§

fn encode_to_vec(&self) -> Vec<u8>
where Self: Sized,

Encodes the message to a newly allocated buffer.
Source§

fn encode_length_delimited( &self, buf: &mut impl BufMut, ) -> Result<(), EncodeError>
where Self: Sized,

Encodes the message with a length-delimiter to a buffer. Read more
Source§

fn encode_length_delimited_to_vec(&self) -> Vec<u8>
where Self: Sized,

Encodes the message with a length-delimiter to a newly allocated buffer.
Source§

fn decode(buf: impl Buf) -> Result<Self, DecodeError>
where Self: Default,

Decodes an instance of the message from a buffer. Read more
Source§

fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>
where Self: Default,

Decodes a length-delimited instance of the message from the buffer.
Source§

fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes an instance of the message from a buffer, and merges it into self. Read more
Source§

fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes a length-delimited instance of the message from buffer, and merges it into self.
Source§

impl PartialEq for C2s

Source§

fn eq(&self, other: &C2s) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for C2s

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for C2s

Auto Trait Implementations§

§

impl Freeze for C2s

§

impl RefUnwindSafe for C2s

§

impl Send for C2s

§

impl Sync for C2s

§

impl Unpin for C2s

§

impl UnsafeUnpin for C2s

§

impl UnwindSafe for C2s

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.