Struct iot_device_bridge::config::IoTConfig
source · [−]pub struct IoTConfig {Show 14 fields
pub iot_topic_prefix: String,
pub shadow_name: String,
pub client_registration_status: String,
pub client_id: String,
pub endpoint: String,
pub port: u16,
pub ca_path: String,
pub client_cert_path: String,
pub client_priv_key_path: String,
pub client_pub_key_path: String,
pub claim_cert_path: String,
pub claim_priv_key_path: String,
pub claim_pub_key_path: String,
pub provisioning_template_name: String,
}
Expand description
IoTConfig
defines structure for IoT specific parameters and cloud connectivity
Fields
iot_topic_prefix: String
shadow_name: String
client_registration_status: String
client_id: String
endpoint: String
port: u16
ca_path: String
client_cert_path: String
client_priv_key_path: String
client_pub_key_path: String
claim_cert_path: String
claim_priv_key_path: String
claim_pub_key_path: String
provisioning_template_name: String
Trait Implementations
sourceimpl<'de> Deserialize<'de> for IoTConfig
impl<'de> Deserialize<'de> for IoTConfig
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
impl Eq for IoTConfig
impl StructuralEq for IoTConfig
impl StructuralPartialEq for IoTConfig
Auto Trait Implementations
impl RefUnwindSafe for IoTConfig
impl Send for IoTConfig
impl Sync for IoTConfig
impl Unpin for IoTConfig
impl UnwindSafe for IoTConfig
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.