pub struct DeviceWipeBody {
pub device_id: String,
pub scope: String,
pub reason: String,
}Expand description
device/wipe/0.1 — remote-wipe a compromised or lost device.
scope and reason are both required by the spec: a wipe with no recorded
reason is an audit gap, and the schema refuses one.
Fields§
§device_id: String§scope: Stringcache | cache-and-keys | full.
reason: StringTrait Implementations§
Source§impl Clone for DeviceWipeBody
impl Clone for DeviceWipeBody
Source§fn clone(&self) -> DeviceWipeBody
fn clone(&self) -> DeviceWipeBody
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 DeviceWipeBody
impl Debug for DeviceWipeBody
Source§impl<'de> Deserialize<'de> for DeviceWipeBody
impl<'de> Deserialize<'de> for DeviceWipeBody
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 DeviceWipeBody
impl RefUnwindSafe for DeviceWipeBody
impl Send for DeviceWipeBody
impl Sync for DeviceWipeBody
impl Unpin for DeviceWipeBody
impl UnsafeUnpin for DeviceWipeBody
impl UnwindSafe for DeviceWipeBody
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