[−][src]Struct huelib::resource::scene::Scene
A scene.
Fields
id: String
Identifier of the scene.
name: String
Name of the scene.
kind: Kind
Kind of the scene.
group: Option<String>
Identifier of the group that the scene is linked to.
lights: Option<Vec<String>>
Identifier of the lights that are in this scene.
owner: Option<String>
Whitelist user that created or modified the content of the scene.
recycle: bool
Whether the group is automatically deleted when not referenced anymore.
locked: bool
Whether the scene is locked by a rule or a schedule.
If set to true, the scene cannot be deleted until all resources requiring or that reference the scene are deleted.
app_data: AppData
App specific data linked to the scene.
picture: Option<String>
Only available with an individual scene resource.
Reserved by the Philips Hue API for future use.
last_update: Option<NaiveDateTime>
Time the scene has been created or updated.
Not available for legacy scenes.
version: Version
Version of the scene document.
Trait Implementations
impl Clone for Scene
[src]
impl Debug for Scene
[src]
impl<'de> Deserialize<'de> for Scene
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for Scene
[src]
impl PartialEq<Scene> for Scene
[src]
impl Resource for Scene
[src]
impl StructuralEq for Scene
[src]
impl StructuralPartialEq for Scene
[src]
Auto Trait Implementations
impl RefUnwindSafe for Scene
[src]
impl Send for Scene
[src]
impl Sync for Scene
[src]
impl Unpin for Scene
[src]
impl UnwindSafe for Scene
[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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
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>,