pub struct DeviceRegistration {
pub web_socket_url: String,
pub device_url: String,
pub user_id: String,
pub services: HashMap<String, String>,
pub encryption_service_url: String,
}Expand description
Result of WDM device registration.
Fields§
§web_socket_url: StringMercury WebSocket URL.
device_url: StringDevice URL (used as clientId for KMS).
user_id: StringBot’s user ID.
services: HashMap<String, String>Service catalog from WDM.
encryption_service_url: StringEncryption service URL extracted from services.
Trait Implementations§
Source§impl Clone for DeviceRegistration
impl Clone for DeviceRegistration
Source§fn clone(&self) -> DeviceRegistration
fn clone(&self) -> DeviceRegistration
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeviceRegistration
impl Debug for DeviceRegistration
Source§impl<'de> Deserialize<'de> for DeviceRegistration
impl<'de> Deserialize<'de> for DeviceRegistration
Source§fn 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
Auto Trait Implementations§
impl Freeze for DeviceRegistration
impl RefUnwindSafe for DeviceRegistration
impl Send for DeviceRegistration
impl Sync for DeviceRegistration
impl Unpin for DeviceRegistration
impl UnsafeUnpin for DeviceRegistration
impl UnwindSafe for DeviceRegistration
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more