pub struct DhttpSettings {
pub default: DefaultSection,
}Fields§
§default: DefaultSectionImplementations§
Source§impl DhttpSettings
impl DhttpSettings
pub const FILE_NAME: &'static str = "settings.toml"
pub fn default_identity_name(&self) -> Option<&DhttpName<'static>>
pub fn set_default_identity_name(&mut self, name: DhttpName<'static>)
Trait Implementations§
Source§impl Clone for DhttpSettings
impl Clone for DhttpSettings
Source§fn clone(&self) -> DhttpSettings
fn clone(&self) -> DhttpSettings
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 DhttpSettings
impl Debug for DhttpSettings
Source§impl Default for DhttpSettings
impl Default for DhttpSettings
Source§fn default() -> DhttpSettings
fn default() -> DhttpSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DhttpSettings
impl<'de> Deserialize<'de> for DhttpSettings
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
Auto Trait Implementations§
impl !Freeze for DhttpSettings
impl RefUnwindSafe for DhttpSettings
impl Send for DhttpSettings
impl Sync for DhttpSettings
impl Unpin for DhttpSettings
impl UnsafeUnpin for DhttpSettings
impl UnwindSafe for DhttpSettings
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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