pub struct C2s {
pub page_size: u32,
pub seq_mark: Option<String>,
pub page_flip: i32,
pub tag_indexes: Vec<i32>,
pub important_only: Option<bool>,
pub translate: Option<bool>,
pub filter_version: Option<i32>,
pub include_flash_filter: Option<bool>,
pub include_market_filter: Option<bool>,
pub first_visit: Option<bool>,
pub extension_version: u32,
}Fields§
§page_size: u321..50.
seq_mark: Option<String>§page_flip: i320 older/down, 1 newer/up.
tag_indexes: Vec<i32>Empty/all becomes source tag filter [0].
important_only: Option<bool>§translate: Option<bool>§filter_version: Option<i32>Required when either read-only filter sidecar is requested.
include_flash_filter: Option<bool>CMD 20706 GetFlashFilterTag.
include_market_filter: Option<bool>CMD 20829 GetNewsMarketFilterTagV2.
first_visit: Option<bool>Forwarded only to the flash-filter sidecar.
extension_version: u32Must be 1.
Implementations§
Source§impl C2s
impl C2s
Sourcepub fn seq_mark(&self) -> &str
pub fn seq_mark(&self) -> &str
Returns the value of seq_mark, or the default value if seq_mark is unset.
Sourcepub fn important_only(&self) -> bool
pub fn important_only(&self) -> bool
Returns the value of important_only, or the default value if important_only is unset.
Sourcepub fn translate(&self) -> bool
pub fn translate(&self) -> bool
Returns the value of translate, or the default value if translate is unset.
Sourcepub fn filter_version(&self) -> i32
pub fn filter_version(&self) -> i32
Returns the value of filter_version, or the default value if filter_version is unset.
Sourcepub fn include_flash_filter(&self) -> bool
pub fn include_flash_filter(&self) -> bool
Returns the value of include_flash_filter, or the default value if include_flash_filter is unset.
Sourcepub fn include_market_filter(&self) -> bool
pub fn include_market_filter(&self) -> bool
Returns the value of include_market_filter, or the default value if include_market_filter is unset.
Sourcepub fn first_visit(&self) -> bool
pub fn first_visit(&self) -> bool
Returns the value of first_visit, or the default value if first_visit is unset.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for C2s
impl<'de> Deserialize<'de> for C2s
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>,
impl Eq for C2s
Source§impl Message for C2s
impl Message for C2s
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.