Struct monitor_types::PeripheryConfig
source · pub struct PeripheryConfig {
pub port: u16,
pub repo_dir: PathBuf,
pub stats_polling_rate: Timelength,
pub allowed_ips: Vec<IpAddr>,
pub passkeys: Vec<String>,
pub secrets: SecretsMap,
pub github_accounts: GithubAccounts,
pub docker_accounts: DockerAccounts,
}
Fields§
§port: u16
§repo_dir: PathBuf
§stats_polling_rate: Timelength
§allowed_ips: Vec<IpAddr>
§passkeys: Vec<String>
§secrets: SecretsMap
§github_accounts: GithubAccounts
§docker_accounts: DockerAccounts
Trait Implementations§
source§impl Clone for PeripheryConfig
impl Clone for PeripheryConfig
source§fn clone(&self) -> PeripheryConfig
fn clone(&self) -> PeripheryConfig
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 PeripheryConfig
impl Debug for PeripheryConfig
source§impl<'de> Deserialize<'de> for PeripheryConfig
impl<'de> Deserialize<'de> for PeripheryConfig
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