pub struct DeviceConfig {
pub clients: BTreeMap<String, String>,
pub approval_url: Option<String>,
}Expand description
Public clients have display names fixed by the operator, never provided by the device. The approval URL is a trusted owner hub using the browser module; registering clients requires an explicit approval integration.
Fields§
§clients: BTreeMap<String, String>§approval_url: Option<String>Trait Implementations§
Source§impl Clone for DeviceConfig
impl Clone for DeviceConfig
Source§impl Debug for DeviceConfig
impl Debug for DeviceConfig
Auto Trait Implementations§
impl Freeze for DeviceConfig
impl RefUnwindSafe for DeviceConfig
impl Send for DeviceConfig
impl Sync for DeviceConfig
impl Unpin for DeviceConfig
impl UnsafeUnpin for DeviceConfig
impl UnwindSafe for DeviceConfig
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