Struct wints::core::config::WintsConfig
source · pub struct WintsConfig {
pub version: u8,
pub ignored_urls: Option<Vec<String>>,
}
Fields§
§version: u8
§ignored_urls: Option<Vec<String>>
Implementations§
source§impl WintsConfig
impl WintsConfig
pub fn empty_config() -> WintsConfig
Trait Implementations§
source§impl Clone for WintsConfig
impl Clone for WintsConfig
source§fn clone(&self) -> WintsConfig
fn clone(&self) -> WintsConfig
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 WintsConfig
impl Debug for WintsConfig
source§impl<'de> Deserialize<'de> for WintsConfig
impl<'de> Deserialize<'de> for WintsConfig
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 for WintsConfig
impl PartialEq for WintsConfig
source§fn eq(&self, other: &WintsConfig) -> bool
fn eq(&self, other: &WintsConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for WintsConfig
impl Serialize for WintsConfig
impl StructuralPartialEq for WintsConfig
Auto Trait Implementations§
impl RefUnwindSafe for WintsConfig
impl Send for WintsConfig
impl Sync for WintsConfig
impl Unpin for WintsConfig
impl UnwindSafe for WintsConfig
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