[−][src]Struct huelib::config::Config
Configuration for a bridge.
Fields
name: String
Name of the bridge.
software_update: SoftwareUpdate
Information about software updates.
software_version: String
Software version of the bridge.
api_version: String
The version of the Philips Hue API.
Indicates whether the link button has been pressed within the last 30 seconds.
ip_address: IpAddr
IP address of the bridge.
mac_address: String
MAC address of the bridge.
netmask: String
Network mask of the bridge.
gateway: IpAddr
Gateway IP address of the bridge.
dhcp: bool
Whether the IP address of the bridge is obtained with DHCP.
portal_services: bool
Whether the bridge is registered to synchronize data with a portal account.
portal_connection: ServiceStatus
Status of the portal connection.
portal_state: PortalState
Portal state of the bridge.
internet_services: InternetServices
Internet services of the bridge.
current_time: NaiveDateTime
Current time stored on the bridge.
local_time: Option<NaiveDateTime>
Local time of the bridge.
timezone: Option<String>
Timezone of the bridge as OlsenIDs, like "Europe/Amsterdam".
zigbee_channel: u8
The current wireless frequency channel used by the bridge. It can take values of 11, 15, 20, 25 or 0 if undefined (factory new).
model_id: String
Uniquely identifies the hardware model of the bridge.
bridge_id: String
The unique bridge id.
factory_new: bool
Indicates if bridge settings are factory new.
replaces_bridge_id: Option<bool>
If a bridge backup file has been restored on this bridge from a bridge with a different bridge id, it will indicate that bridge id, otherwise it will be None.
datastore_version: String
The version of the datastore.
starterkit_id: String
Name of the starterkit created in the factory.
backup: Backup
Backup information about the bridge.
whitelist: Vec<User>
Whitelisted users.
Trait Implementations
impl Clone for Config
[src]
impl Debug for Config
[src]
impl<'de> Deserialize<'de> for Config
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for Config
[src]
impl PartialEq<Config> for Config
[src]
impl Serialize for Config
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for Config
[src]
impl StructuralPartialEq for Config
[src]
Auto Trait Implementations
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: 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.
fn to_owned(&self) -> T
[src]
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.
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>,