[−][src]Struct huelib::resource::sensor::ConfigModifier
Modifier for the sensor configuration.
Fields
on: Option<bool>
Sets whether the sensor is on.
Implementations
impl ConfigModifier
[src]
impl ConfigModifier
[src]
pub fn new() -> Self
[src]
Creates a new ConfigModifier
.
Trait Implementations
impl Clone for ConfigModifier
[src]
pub fn clone(&self) -> ConfigModifier
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ConfigModifier
[src]
impl Default for ConfigModifier
[src]
pub fn default() -> ConfigModifier
[src]
impl Eq for ConfigModifier
[src]
impl Modifier for ConfigModifier
[src]
type Id = String
The type of the identifier. Read more
pub fn url_suffix(id: Self::Id) -> String
[src]
pub fn execute(
&self,
bridge: &Bridge,
id: Self::Id
) -> Result<Vec<Response<Modified>>>
[src]
&self,
bridge: &Bridge,
id: Self::Id
) -> Result<Vec<Response<Modified>>>
impl PartialEq<ConfigModifier> for ConfigModifier
[src]
pub fn eq(&self, other: &ConfigModifier) -> bool
[src]
pub fn ne(&self, other: &ConfigModifier) -> bool
[src]
impl Serialize for ConfigModifier
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for ConfigModifier
[src]
impl StructuralPartialEq for ConfigModifier
[src]
Auto Trait Implementations
impl RefUnwindSafe for ConfigModifier
[src]
impl Send for ConfigModifier
[src]
impl Sync for ConfigModifier
[src]
impl Unpin for ConfigModifier
[src]
impl UnwindSafe for ConfigModifier
[src]
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,