pub enum ProjectItem {
Scene(ProjectScene),
Binaer(ProjectBinaer),
Dimmer(ProjectDimmer),
Jalousie(ProjectJalousie),
None(ProjectNone),
}
Variants§
Scene(ProjectScene)
Binaer(ProjectBinaer)
Dimmer(ProjectDimmer)
Jalousie(ProjectJalousie)
None(ProjectNone)
Implementations§
Source§impl ProjectItem
impl ProjectItem
Source§impl ProjectItem
impl ProjectItem
pub fn kind(&self) -> ProjectItemKind
Trait Implementations§
Source§impl Debug for ProjectItem
impl Debug for ProjectItem
Source§impl<'de> Deserialize<'de> for ProjectItem
impl<'de> Deserialize<'de> for ProjectItem
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl EnetItem for ProjectItem
impl EnetItem for ProjectItem
Source§impl<'__enum_kinds1> From<&'__enum_kinds1 ProjectItem> for ProjectItemKind
impl<'__enum_kinds1> From<&'__enum_kinds1 ProjectItem> for ProjectItemKind
Source§fn from(_value: &'__enum_kinds1 ProjectItem) -> Self
fn from(_value: &'__enum_kinds1 ProjectItem) -> Self
Converts to this type from the input type.
Source§impl<'__enum_kinds1> From<ProjectItem> for ProjectItemKind
impl<'__enum_kinds1> From<ProjectItem> for ProjectItemKind
Source§fn from(value: ProjectItem) -> Self
fn from(value: ProjectItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ProjectItem
impl RefUnwindSafe for ProjectItem
impl Send for ProjectItem
impl Sync for ProjectItem
impl Unpin for ProjectItem
impl UnwindSafe for ProjectItem
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