pub struct WshEventDataRequest {
pub req_id: Option<i32>,
pub con_id: Option<i32>,
pub filter: Option<String>,
pub fill_watchlist: Option<bool>,
pub fill_portfolio: Option<bool>,
pub fill_competitors: Option<bool>,
pub start_date: Option<String>,
pub end_date: Option<String>,
pub total_limit: Option<i32>,
}Fields§
§req_id: Option<i32>§con_id: Option<i32>§filter: Option<String>§fill_watchlist: Option<bool>§fill_portfolio: Option<bool>§fill_competitors: Option<bool>§start_date: Option<String>§end_date: Option<String>§total_limit: Option<i32>Implementations§
Source§impl WshEventDataRequest
impl WshEventDataRequest
Sourcepub fn req_id(&self) -> i32
pub fn req_id(&self) -> i32
Returns the value of req_id, or the default value if req_id is unset.
Sourcepub fn con_id(&self) -> i32
pub fn con_id(&self) -> i32
Returns the value of con_id, or the default value if con_id is unset.
Sourcepub fn filter(&self) -> &str
pub fn filter(&self) -> &str
Returns the value of filter, or the default value if filter is unset.
Sourcepub fn fill_watchlist(&self) -> bool
pub fn fill_watchlist(&self) -> bool
Returns the value of fill_watchlist, or the default value if fill_watchlist is unset.
Sourcepub fn fill_portfolio(&self) -> bool
pub fn fill_portfolio(&self) -> bool
Returns the value of fill_portfolio, or the default value if fill_portfolio is unset.
Sourcepub fn fill_competitors(&self) -> bool
pub fn fill_competitors(&self) -> bool
Returns the value of fill_competitors, or the default value if fill_competitors is unset.
Sourcepub fn start_date(&self) -> &str
pub fn start_date(&self) -> &str
Returns the value of start_date, or the default value if start_date is unset.
Sourcepub fn end_date(&self) -> &str
pub fn end_date(&self) -> &str
Returns the value of end_date, or the default value if end_date is unset.
Sourcepub fn total_limit(&self) -> i32
pub fn total_limit(&self) -> i32
Returns the value of total_limit, or the default value if total_limit is unset.
Trait Implementations§
Source§impl Clone for WshEventDataRequest
impl Clone for WshEventDataRequest
Source§fn clone(&self) -> WshEventDataRequest
fn clone(&self) -> WshEventDataRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WshEventDataRequest
impl Debug for WshEventDataRequest
Source§impl Default for WshEventDataRequest
impl Default for WshEventDataRequest
impl Eq for WshEventDataRequest
Source§impl Hash for WshEventDataRequest
impl Hash for WshEventDataRequest
Source§impl Message for WshEventDataRequest
impl Message for WshEventDataRequest
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
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,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
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,
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,
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,
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,
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,
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 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,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for WshEventDataRequest
impl PartialEq for WshEventDataRequest
impl StructuralPartialEq for WshEventDataRequest
Auto Trait Implementations§
impl Freeze for WshEventDataRequest
impl RefUnwindSafe for WshEventDataRequest
impl Send for WshEventDataRequest
impl Sync for WshEventDataRequest
impl Unpin for WshEventDataRequest
impl UnsafeUnpin for WshEventDataRequest
impl UnwindSafe for WshEventDataRequest
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