Struct iot_device_bridge::config::DeviceConfig
source · [−]pub struct DeviceConfig {Show 15 fields
pub device_topic_prefix: String,
pub shadow_name: String,
pub client_id: String,
pub endpoint: String,
pub port: u16,
pub username: String,
pub password: String,
pub spec_version: String,
pub privacy: bool,
pub rudi_gtin: String,
pub rudi_ref: String,
pub instrument_type: String,
pub instrument_name: String,
pub instrument_serial_number: String,
pub source_id_type: String,
}
Expand description
DeviceConfig
defines structure for device specific parameters
Fields
device_topic_prefix: String
shadow_name: String
client_id: String
endpoint: String
port: u16
username: String
password: String
spec_version: String
privacy: bool
rudi_gtin: String
rudi_ref: String
instrument_type: String
instrument_name: String
instrument_serial_number: String
source_id_type: String
Trait Implementations
sourceimpl Clone for DeviceConfig
impl Clone for DeviceConfig
sourcefn clone(&self) -> DeviceConfig
fn clone(&self) -> DeviceConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DeviceConfig
impl Debug for DeviceConfig
sourceimpl<'de> Deserialize<'de> for DeviceConfig
impl<'de> Deserialize<'de> for DeviceConfig
sourcefn 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
sourceimpl PartialEq<DeviceConfig> for DeviceConfig
impl PartialEq<DeviceConfig> for DeviceConfig
sourcefn eq(&self, other: &DeviceConfig) -> bool
fn eq(&self, other: &DeviceConfig) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DeviceConfig) -> bool
fn ne(&self, other: &DeviceConfig) -> bool
This method tests for !=
.
sourceimpl Serialize for DeviceConfig
impl Serialize for DeviceConfig
impl Eq for DeviceConfig
impl StructuralEq for DeviceConfig
impl StructuralPartialEq for DeviceConfig
Auto Trait Implementations
impl RefUnwindSafe for DeviceConfig
impl Send for DeviceConfig
impl Sync for DeviceConfig
impl Unpin for DeviceConfig
impl UnwindSafe for DeviceConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.