[−][src]Struct huelib::resource::light::AttributeModifier
Modifier for light attributes.
Fields
name: Option<String>
Sets the name of the light.
Implementations
impl AttributeModifier
[src]
impl AttributeModifier
[src]
pub fn new() -> Self
[src]
Creates a new AttributeModifier
.
Trait Implementations
impl Clone for AttributeModifier
[src]
pub fn clone(&self) -> AttributeModifier
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AttributeModifier
[src]
impl Default for AttributeModifier
[src]
pub fn default() -> AttributeModifier
[src]
impl Eq for AttributeModifier
[src]
impl Modifier for AttributeModifier
[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<AttributeModifier> for AttributeModifier
[src]
pub fn eq(&self, other: &AttributeModifier) -> bool
[src]
pub fn ne(&self, other: &AttributeModifier) -> bool
[src]
impl Serialize for AttributeModifier
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for AttributeModifier
[src]
impl StructuralPartialEq for AttributeModifier
[src]
Auto Trait Implementations
impl RefUnwindSafe for AttributeModifier
[src]
impl Send for AttributeModifier
[src]
impl Sync for AttributeModifier
[src]
impl Unpin for AttributeModifier
[src]
impl UnwindSafe for AttributeModifier
[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>,