pub struct DeviceClaim {
pub additional_service: Option<String>,
pub google_workspace_customer_id: Option<String>,
pub owner_company_id: Option<i64>,
pub reseller_id: Option<i64>,
pub section_type: Option<String>,
pub vacation_mode_expire_time: Option<DateTime<Utc>>,
pub vacation_mode_start_time: Option<DateTime<Utc>>,
}
Expand description
A record of a device claimed by a reseller for a customer. Devices claimed for zero-touch enrollment have a claim with the type SECTION_TYPE_ZERO_TOUCH
. To learn more, read Claim devices for customers.
This type is not used in any activity, and only used as part of another schema.
Fields§
§additional_service: Option<String>
The Additional service registered for the device.
google_workspace_customer_id: Option<String>
The ID of the Google Workspace account that owns the Chrome OS device.
owner_company_id: Option<i64>
The ID of the Customer that purchased the device.
reseller_id: Option<i64>
The ID of the reseller that claimed the device.
section_type: Option<String>
Output only. The type of claim made on the device.
vacation_mode_expire_time: Option<DateTime<Utc>>
The timestamp when the device will exit ‘vacation mode’. This value is present iff the device is in ‘vacation mode’.
vacation_mode_start_time: Option<DateTime<Utc>>
The timestamp when the device was put into ‘vacation mode’. This value is present iff the device is in ‘vacation mode’.
Trait Implementations§
Source§impl Clone for DeviceClaim
impl Clone for DeviceClaim
Source§fn clone(&self) -> DeviceClaim
fn clone(&self) -> DeviceClaim
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for DeviceClaim
impl Debug for DeviceClaim
Source§impl Default for DeviceClaim
impl Default for DeviceClaim
Source§fn default() -> DeviceClaim
fn default() -> DeviceClaim
Source§impl<'de> Deserialize<'de> for DeviceClaim
impl<'de> Deserialize<'de> for DeviceClaim
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>,
Source§impl Serialize for DeviceClaim
impl Serialize for DeviceClaim
impl Part for DeviceClaim
Auto Trait Implementations§
impl Freeze for DeviceClaim
impl RefUnwindSafe for DeviceClaim
impl Send for DeviceClaim
impl Sync for DeviceClaim
impl Unpin for DeviceClaim
impl UnwindSafe for DeviceClaim
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
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>
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>
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