[−][src]Struct ena::config::BoardSettings
Settings for a board
Fields
board: YotsubaBoard
retry_attempts: u16
refresh_delay: u16
throttle_millisec: u32
download_archives: bool
download_media: bool
download_thumbnails: bool
keep_media: bool
keep_thumbnails: bool
Trait Implementations
impl Clone for BoardSettings
[src]
fn clone(&self) -> BoardSettings
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for BoardSettings
[src]
impl Debug for BoardSettings
[src]
impl Default for BoardSettings
[src]
This default method will call if there's any missing fields. That's why the board field is
ommited in the config json. This is why Yotsuba::None will go through, its not being
deserialized or parsed by serde_json, the default is merely being inserted, and no checks are
done. See the overriden impl of Deserialize
for YotsubaBoard
.
It's overridden to ignore YotsubaBoard::None
.
impl<'de> Deserialize<'de> for BoardSettings where
BoardSettings: Default,
[src]
BoardSettings: Default,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for BoardSettings
[src]
Auto Trait Implementations
impl RefUnwindSafe for BoardSettings
impl Send for BoardSettings
impl Sync for BoardSettings
impl Unpin for BoardSettings
impl UnwindSafe for BoardSettings
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Sealed<T> for T where
T: ?Sized,
T: ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,