Struct huelib::resource::config::PortalState [−][src]
pub struct PortalState {
pub signedon: bool,
pub incoming: bool,
pub outgoing: bool,
pub communication: ServiceStatus,
}
Expand description
Portal state of the bridge.
Fields
signedon: bool
Signedon.
incoming: bool
Incoming communication.
outgoing: bool
Outgoing communication.
communication: ServiceStatus
Status of communication.
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PortalState
impl Send for PortalState
impl Sync for PortalState
impl Unpin for PortalState
impl UnwindSafe for PortalState
Blanket Implementations
Mutably borrows from an owned value. Read more