Struct channel_config::ChannelConfig
source · pub struct ChannelConfig {
pub name: String,
pub repo: String,
pub appid: Option<String>,
pub check_interval_secs: Option<u64>,
}
Fields§
§name: String
§repo: String
§appid: Option<String>
§check_interval_secs: Option<u64>
Implementations§
source§impl ChannelConfig
impl ChannelConfig
pub fn new_for_test(name: &str) -> Self
pub fn with_appid_for_test(name: &str, appid: &str) -> Self
Trait Implementations§
source§impl Clone for ChannelConfig
impl Clone for ChannelConfig
source§fn clone(&self) -> ChannelConfig
fn clone(&self) -> ChannelConfig
Returns a copy of the value. Read more
1.0.0 · 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 ChannelConfig
impl Debug for ChannelConfig
source§impl<'de> Deserialize<'de> for ChannelConfig
impl<'de> Deserialize<'de> for ChannelConfig
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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<ChannelConfig> for ChannelConfig
impl PartialEq<ChannelConfig> for ChannelConfig
source§fn eq(&self, other: &ChannelConfig) -> bool
fn eq(&self, other: &ChannelConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.