Struct philipshue::hue::ConfigurationModifier
[−]
[src]
pub struct ConfigurationModifier { pub name: Option<String>, pub swupdate: Option<SoftwareUpdateModifier>, pub proxyaddress: Option<String>, pub proxyport: Option<u16>, pub linkbutton: Option<bool>, pub ipaddress: Option<String>, pub netmask: Option<String>, pub gateway: Option<String>, pub dhcp: Option<bool>, pub utc: Option<String>, pub timezone: Option<String>, pub touchlink: Option<bool>, }
Changes to be applied to the configuration.
This is parsed to bridge::modify_configuration()
Fields
name: Option<String>
Name of the bridge. This is also its uPnP name.
swupdate: Option<SoftwareUpdateModifier>
Contains information about software updates
proxyaddress: Option<String>
IP Address of the proxy server being used or "none".
proxyport: Option<u16>
Port of the proxy being used or 0 if no proxy is being used
Whether the linkbuttion has been preseed within the last 30 seconds.
ipaddress: Option<String>
IP address of the bridge.
netmask: Option<String>
Network mask of the bridge.
gateway: Option<String>
Gateway IP address of the bridge.
dhcp: Option<bool>
Whether the IP address of the bridge is obtained via DHCP.
utc: Option<String>
Current time stored on the bridge.
Only modifiable when bridge cannot access the internet.
timezone: Option<String>
Timezone of the bridge.
touchlink: Option<bool>
Perform a touchlink action if true.
Trait Implementations
impl Default for ConfigurationModifier
[src]
fn default() -> ConfigurationModifier
Returns the "default value" for a type. Read more
impl Clone for ConfigurationModifier
[src]
fn clone(&self) -> ConfigurationModifier
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more