pub struct WipeParams {
pub wipe_data_flags: Option<Vec<String>>,
pub wipe_reason: Option<UserFacingMessage>,
}Expand description
Parameters associated with the WIPE command to wipe the device.
This type is not used in any activity, and only used as part of another schema.
Fields§
§wipe_data_flags: Option<Vec<String>>Optional. Flags to determine what data to wipe.
wipe_reason: Option<UserFacingMessage>Optional. A short message displayed to the user before wiping the work profile on personal devices. This has no effect on company owned devices. The maximum message length is 200 characters.
Trait Implementations§
Source§impl Clone for WipeParams
impl Clone for WipeParams
Source§fn clone(&self) -> WipeParams
fn clone(&self) -> WipeParams
Returns a duplicate of the value. Read more
1.0.0 · 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 WipeParams
impl Debug for WipeParams
Source§impl Default for WipeParams
impl Default for WipeParams
Source§fn default() -> WipeParams
fn default() -> WipeParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WipeParams
impl<'de> Deserialize<'de> for WipeParams
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 Serialize for WipeParams
impl Serialize for WipeParams
impl Part for WipeParams
Auto Trait Implementations§
impl Freeze for WipeParams
impl RefUnwindSafe for WipeParams
impl Send for WipeParams
impl Sync for WipeParams
impl Unpin for WipeParams
impl UnwindSafe for WipeParams
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