pub struct StartLostModeParams {
pub lost_email_address: Option<String>,
pub lost_message: Option<UserFacingMessage>,
pub lost_organization: Option<UserFacingMessage>,
pub lost_phone_number: Option<UserFacingMessage>,
pub lost_street_address: Option<UserFacingMessage>,
}
Expand description
Parameters associated with the START_LOST_MODE command to put the device into lost mode. At least one of the parameters, not including the organization name, must be provided in order for the device to be put into lost mode.
This type is not used in any activity, and only used as part of another schema.
Fields§
§lost_email_address: Option<String>
The email address displayed to the user when the device is in lost mode.
lost_message: Option<UserFacingMessage>
The message displayed to the user when the device is in lost mode.
lost_organization: Option<UserFacingMessage>
The organization name displayed to the user when the device is in lost mode.
lost_phone_number: Option<UserFacingMessage>
The phone number that will be called when the device is in lost mode and the call owner button is tapped.
lost_street_address: Option<UserFacingMessage>
The street address displayed to the user when the device is in lost mode.
Trait Implementations§
Source§impl Clone for StartLostModeParams
impl Clone for StartLostModeParams
Source§fn clone(&self) -> StartLostModeParams
fn clone(&self) -> StartLostModeParams
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 StartLostModeParams
impl Debug for StartLostModeParams
Source§impl Default for StartLostModeParams
impl Default for StartLostModeParams
Source§fn default() -> StartLostModeParams
fn default() -> StartLostModeParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StartLostModeParams
impl<'de> Deserialize<'de> for StartLostModeParams
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 StartLostModeParams
impl Serialize for StartLostModeParams
impl Part for StartLostModeParams
Auto Trait Implementations§
impl Freeze for StartLostModeParams
impl RefUnwindSafe for StartLostModeParams
impl Send for StartLostModeParams
impl Sync for StartLostModeParams
impl Unpin for StartLostModeParams
impl UnwindSafe for StartLostModeParams
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more