[−][src]Struct huelib::resource::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: IpAddr
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.
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<String>
Identifier of the bridge where a backup was restored.
If no backup was restored from another bridge, this 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]
pub 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 Resource for Config
[src]
impl StructuralEq for Config
[src]
impl StructuralPartialEq for Config
[src]
Auto Trait Implementations
impl RefUnwindSafe for Config
[src]
impl Send for Config
[src]
impl Sync for Config
[src]
impl Unpin for Config
[src]
impl UnwindSafe for Config
[src]
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,