pub struct HassRegistryEntity {Show 21 fields
pub area_id: Option<String>,
pub categories: HashMap<String, Value>,
pub config_entry_id: Option<String>,
pub config_subentry_id: Option<String>,
pub created_at: f64,
pub device_id: Option<String>,
pub disabled_by: Option<String>,
pub entity_category: Option<String>,
pub entity_id: String,
pub has_entity_name: bool,
pub hidden_by: Option<String>,
pub icon: Option<String>,
pub id: String,
pub labels: Vec<String>,
pub modified_at: f64,
pub name: Option<String>,
pub options: HashMap<String, Value>,
pub original_name: Option<String>,
pub platform: String,
pub translation_key: Option<String>,
pub unique_id: String,
}Fields§
§area_id: Option<String>§categories: HashMap<String, Value>§config_entry_id: Option<String>§config_subentry_id: Option<String>§created_at: f64§device_id: Option<String>§disabled_by: Option<String>§entity_category: Option<String>§entity_id: String§has_entity_name: bool§icon: Option<String>§id: String§labels: Vec<String>§modified_at: f64§name: Option<String>§options: HashMap<String, Value>§original_name: Option<String>§platform: String§translation_key: Option<String>§unique_id: StringTrait Implementations§
Source§impl Clone for HassRegistryEntity
impl Clone for HassRegistryEntity
Source§fn clone(&self) -> HassRegistryEntity
fn clone(&self) -> HassRegistryEntity
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HassRegistryEntity
impl Debug for HassRegistryEntity
Source§impl<'de> Deserialize<'de> for HassRegistryEntity
impl<'de> Deserialize<'de> for HassRegistryEntity
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 PartialEq for HassRegistryEntity
impl PartialEq for HassRegistryEntity
Source§impl Serialize for HassRegistryEntity
impl Serialize for HassRegistryEntity
impl StructuralPartialEq for HassRegistryEntity
Auto Trait Implementations§
impl Freeze for HassRegistryEntity
impl RefUnwindSafe for HassRegistryEntity
impl Send for HassRegistryEntity
impl Sync for HassRegistryEntity
impl Unpin for HassRegistryEntity
impl UnwindSafe for HassRegistryEntity
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