pub struct ConfigEntryJson {
pub entry_id: String,
pub domain: String,
pub title: String,
pub data: Value,
}Expand description
JSON payload passed to setup_entry when a config entry is set up.
Serialises to HA-compat ConfigEntry JSON.
Fields§
§entry_id: String§domain: String§title: String§data: ValueImplementations§
Trait Implementations§
Source§impl Debug for ConfigEntryJson
impl Debug for ConfigEntryJson
Source§impl<'de> Deserialize<'de> for ConfigEntryJson
impl<'de> Deserialize<'de> for ConfigEntryJson
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
Auto Trait Implementations§
impl Freeze for ConfigEntryJson
impl RefUnwindSafe for ConfigEntryJson
impl Send for ConfigEntryJson
impl Sync for ConfigEntryJson
impl Unpin for ConfigEntryJson
impl UnsafeUnpin for ConfigEntryJson
impl UnwindSafe for ConfigEntryJson
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