pub struct AuthkeyRevokeRequest {
pub revoke_devices: bool,
}Expand description
Body of POST /v1/authkeys/{id}/revoke, which may also be empty.
Fields§
§revoke_devices: boolAlso revoke every device the key enrolled. false unless given:
revoking a key on its own only stops new enrolments.
Trait Implementations§
Source§impl Clone for AuthkeyRevokeRequest
impl Clone for AuthkeyRevokeRequest
Source§impl Debug for AuthkeyRevokeRequest
impl Debug for AuthkeyRevokeRequest
Source§impl Default for AuthkeyRevokeRequest
impl Default for AuthkeyRevokeRequest
Source§impl<'de> Deserialize<'de> for AuthkeyRevokeRequest
impl<'de> Deserialize<'de> for AuthkeyRevokeRequest
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
impl Eq for AuthkeyRevokeRequest
Source§impl PartialEq for AuthkeyRevokeRequest
impl PartialEq for AuthkeyRevokeRequest
Source§impl Serialize for AuthkeyRevokeRequest
impl Serialize for AuthkeyRevokeRequest
impl StructuralPartialEq for AuthkeyRevokeRequest
Auto Trait Implementations§
impl Freeze for AuthkeyRevokeRequest
impl RefUnwindSafe for AuthkeyRevokeRequest
impl Send for AuthkeyRevokeRequest
impl Sync for AuthkeyRevokeRequest
impl Unpin for AuthkeyRevokeRequest
impl UnsafeUnpin for AuthkeyRevokeRequest
impl UnwindSafe for AuthkeyRevokeRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.