pub struct OrgRevokeParams {
pub target: String,
pub user_key: bool,
}Expand description
Params of Request::OrgRevoke (#66).
Fields§
§target: StringWho or what to revoke: a user_id (the person and every device), or "<user_id>/<label>"
(one device).
user_key: boolTreat this as a USER-KEY rotation instead: remove the person but leave their devices
un-revoked, so the same hardware re-enrolls under a fresh user key and is re-approved with
the same user_id.
The distinction is the point — a departure must revoke the devices, a rotation must not.
Trait Implementations§
Source§impl Clone for OrgRevokeParams
impl Clone for OrgRevokeParams
Source§fn clone(&self) -> OrgRevokeParams
fn clone(&self) -> OrgRevokeParams
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 OrgRevokeParams
impl Debug for OrgRevokeParams
Source§impl<'de> Deserialize<'de> for OrgRevokeParams
impl<'de> Deserialize<'de> for OrgRevokeParams
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 OrgRevokeParams
Source§impl PartialEq for OrgRevokeParams
impl PartialEq for OrgRevokeParams
Source§impl Serialize for OrgRevokeParams
impl Serialize for OrgRevokeParams
impl StructuralPartialEq for OrgRevokeParams
Auto Trait Implementations§
impl Freeze for OrgRevokeParams
impl RefUnwindSafe for OrgRevokeParams
impl Send for OrgRevokeParams
impl Sync for OrgRevokeParams
impl Unpin for OrgRevokeParams
impl UnsafeUnpin for OrgRevokeParams
impl UnwindSafe for OrgRevokeParams
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