pub struct FanUpdate {
pub base: Option<ResourceUpdate>,
pub location: Option<LocationUpdate>,
pub location_indicator_active: Option<Boolean>,
}Expand description
Update struct corresponding to Fan
Fields§
§base: Option<ResourceUpdate>§location: Option<LocationUpdate>§location_indicator_active: Option<Boolean>Implementations§
Source§impl FanUpdate
impl FanUpdate
pub fn builder() -> Self
pub const fn build(self) -> Self
pub fn with_base(self, v: ResourceUpdate) -> Self
pub fn with_location(self, v: LocationUpdate) -> Self
pub fn with_location_indicator_active(self, v: Boolean) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FanUpdate
impl RefUnwindSafe for FanUpdate
impl Send for FanUpdate
impl Sync for FanUpdate
impl Unpin for FanUpdate
impl UnsafeUnpin for FanUpdate
impl UnwindSafe for FanUpdate
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