pub struct DefaultsSection {
pub no_color: bool,
pub resolve: bool,
}Fields§
§no_color: boolDefault for –no-color (disable colored output).
resolve: boolDefault for –resolve (resolve remote addresses).
Trait Implementations§
Source§impl Clone for DefaultsSection
impl Clone for DefaultsSection
Source§fn clone(&self) -> DefaultsSection
fn clone(&self) -> DefaultsSection
Returns a duplicate 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 DefaultsSection
impl Debug for DefaultsSection
Source§impl Default for DefaultsSection
impl Default for DefaultsSection
Source§fn default() -> DefaultsSection
fn default() -> DefaultsSection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DefaultsSectionwhere
DefaultsSection: Default,
impl<'de> Deserialize<'de> for DefaultsSectionwhere
DefaultsSection: Default,
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 DefaultsSection
impl RefUnwindSafe for DefaultsSection
impl Send for DefaultsSection
impl Sync for DefaultsSection
impl Unpin for DefaultsSection
impl UnsafeUnpin for DefaultsSection
impl UnwindSafe for DefaultsSection
Blanket Implementations§
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