pub struct RequestLogin {Show 13 fields
pub template_id: i32,
pub template_version: Option<String>,
pub user_msg: Vec<String>,
pub user: Option<String>,
pub password: Option<String>,
pub app_name: Option<String>,
pub app_version: Option<String>,
pub system_name: Option<String>,
pub infra_type: Option<i32>,
pub mac_addr: Vec<String>,
pub os_version: Option<String>,
pub os_platform: Option<String>,
pub aggregated_quotes: Option<bool>,
}Fields§
§template_id: i32§template_version: Option<String>§user_msg: Vec<String>§user: Option<String>§password: Option<String>§app_name: Option<String>§app_version: Option<String>§system_name: Option<String>§infra_type: Option<i32>§mac_addr: Vec<String>§os_version: Option<String>§os_platform: Option<String>§aggregated_quotes: Option<bool>applicable only for TICKER_PLANT infra_type
Implementations§
Source§impl RequestLogin
impl RequestLogin
Sourcepub fn app_name(&self) -> &str
pub fn app_name(&self) -> &str
Returns the value of app_name, or the default value if app_name is unset.
Sourcepub fn password(&self) -> &str
pub fn password(&self) -> &str
Returns the value of password, or the default value if password is unset.
Sourcepub fn app_version(&self) -> &str
pub fn app_version(&self) -> &str
Returns the value of app_version, or the default value if app_version is unset.
Sourcepub fn os_platform(&self) -> &str
pub fn os_platform(&self) -> &str
Returns the value of os_platform, or the default value if os_platform is unset.
Sourcepub fn os_version(&self) -> &str
pub fn os_version(&self) -> &str
Returns the value of os_version, or the default value if os_version is unset.
Sourcepub fn infra_type(&self) -> SysInfraType
pub fn infra_type(&self) -> SysInfraType
Returns the enum value of infra_type, or the default if the field is unset or set to an invalid enum value.
Sourcepub fn set_infra_type(&mut self, value: SysInfraType)
pub fn set_infra_type(&mut self, value: SysInfraType)
Sets infra_type to the provided enum value.
Sourcepub fn system_name(&self) -> &str
pub fn system_name(&self) -> &str
Returns the value of system_name, or the default value if system_name is unset.
Sourcepub fn template_version(&self) -> &str
pub fn template_version(&self) -> &str
Returns the value of template_version, or the default value if template_version is unset.
Sourcepub fn aggregated_quotes(&self) -> bool
pub fn aggregated_quotes(&self) -> bool
Returns the value of aggregated_quotes, or the default value if aggregated_quotes is unset.
Trait Implementations§
Source§impl Clone for RequestLogin
impl Clone for RequestLogin
Source§fn clone(&self) -> RequestLogin
fn clone(&self) -> RequestLogin
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RequestLogin
impl Debug for RequestLogin
Source§impl Default for RequestLogin
impl Default for RequestLogin
Source§impl Hash for RequestLogin
impl Hash for RequestLogin
Source§impl Message for RequestLogin
impl Message for RequestLogin
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.