pub struct NightlightUpdate {
pub enabled: Option<bool>,
pub brightness: Option<u32>,
pub schedule: Option<NightlightScheduleUpdate>,
}Fields§
§enabled: Option<bool>§brightness: Option<u32>§schedule: Option<NightlightScheduleUpdate>Trait Implementations§
Source§impl Clone for NightlightUpdate
impl Clone for NightlightUpdate
Source§fn clone(&self) -> NightlightUpdate
fn clone(&self) -> NightlightUpdate
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 NightlightUpdate
impl Debug for NightlightUpdate
Source§impl Default for NightlightUpdate
impl Default for NightlightUpdate
Source§fn default() -> NightlightUpdate
fn default() -> NightlightUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NightlightUpdate
impl RefUnwindSafe for NightlightUpdate
impl Send for NightlightUpdate
impl Sync for NightlightUpdate
impl Unpin for NightlightUpdate
impl UnsafeUnpin for NightlightUpdate
impl UnwindSafe for NightlightUpdate
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