Struct confitul::LocalHostOptions
source · Fields§
§name: String§description: String§urls: Vec<String>Implementations§
source§impl LocalHostOptions
impl LocalHostOptions
pub fn new() -> LocalHostOptions
pub fn with_name(&self, name: &str) -> LocalHostOptions
sourcepub fn try_with_name(
&self,
name: &str
) -> Result<LocalHostOptions, ConfigCheckError>
pub fn try_with_name(
&self,
name: &str
) -> Result<LocalHostOptions, ConfigCheckError>
pub fn with_description(&self, description: &str) -> LocalHostOptions
sourcepub fn try_with_description(
&self,
description: &str
) -> Result<LocalHostOptions, ConfigCheckError>
pub fn try_with_description(
&self,
description: &str
) -> Result<LocalHostOptions, ConfigCheckError>
pub fn with_urls(&self, urls: &Vec<&str>) -> LocalHostOptions
sourcepub fn try_with_urls(
&self,
urls: &Vec<&str>
) -> Result<LocalHostOptions, ConfigCheckError>
pub fn try_with_urls(
&self,
urls: &Vec<&str>
) -> Result<LocalHostOptions, ConfigCheckError>
Trait Implementations§
source§impl Clone for LocalHostOptions
impl Clone for LocalHostOptions
source§fn clone(&self) -> LocalHostOptions
fn clone(&self) -> LocalHostOptions
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 ConfigCheck for LocalHostOptions
impl ConfigCheck for LocalHostOptions
fn check(&self) -> Result<LocalHostOptions, ConfigCheckError>
source§impl Debug for LocalHostOptions
impl Debug for LocalHostOptions
source§impl Default for LocalHostOptions
impl Default for LocalHostOptions
source§fn default() -> LocalHostOptions
fn default() -> LocalHostOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LocalHostOptions
impl<'de> Deserialize<'de> for LocalHostOptions
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