pub struct RotationSettings {
pub current_album: Option<CurrentAlbum>,
pub interval: Interval,
}Fields§
§current_album: Option<CurrentAlbum>§interval: IntervalNumber of seconds until next image
Trait Implementations§
Source§impl Clone for RotationSettings
impl Clone for RotationSettings
Source§fn clone(&self) -> RotationSettings
fn clone(&self) -> RotationSettings
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 RotationSettings
impl Debug for RotationSettings
Source§impl Default for RotationSettings
impl Default for RotationSettings
Source§impl<'de> Deserialize<'de> for RotationSettings
impl<'de> Deserialize<'de> for RotationSettings
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 RotationSettings
impl RefUnwindSafe for RotationSettings
impl Send for RotationSettings
impl Sync for RotationSettings
impl Unpin for RotationSettings
impl UnwindSafe for RotationSettings
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