pub struct CreateCapability {
pub reusable: Option<bool>,
pub ephemeral: Option<bool>,
pub preauthorized: Option<bool>,
pub tags: Option<Vec<String>>,
pub unknown: Unknown,
}Expand description
What registering a device with this key produces.
Fields§
§reusable: Option<bool>A reusable key registers more than one device.
ephemeral: Option<bool>An ephemeral device is cleaned up when it goes away.
Devices registered with this key skip admin approval.
The tags every device registered with this key is given.
unknown: UnknownEverything the description did not mention, kept so that a control plane ahead of this build still answers usefully.
Implementations§
Trait Implementations§
Source§impl Clone for CreateCapability
impl Clone for CreateCapability
Source§fn clone(&self) -> CreateCapability
fn clone(&self) -> CreateCapability
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CreateCapability
impl Debug for CreateCapability
Source§impl<'de> Deserialize<'de> for CreateCapability
impl<'de> Deserialize<'de> for CreateCapability
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
Source§impl PartialEq for CreateCapability
impl PartialEq for CreateCapability
Source§impl Serialize for CreateCapability
impl Serialize for CreateCapability
impl StructuralPartialEq for CreateCapability
Auto Trait Implementations§
impl Freeze for CreateCapability
impl RefUnwindSafe for CreateCapability
impl Send for CreateCapability
impl Sync for CreateCapability
impl Unpin for CreateCapability
impl UnsafeUnpin for CreateCapability
impl UnwindSafe for CreateCapability
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