pub struct PartnerClaim {
pub configuration_id: Option<i64>,
pub customer_id: Option<i64>,
pub device_identifier: Option<DeviceIdentifier>,
pub device_metadata: Option<DeviceMetadata>,
pub google_workspace_customer_id: Option<String>,
pub pre_provisioning_token: Option<String>,
pub section_type: Option<String>,
pub simlock_profile_id: Option<i64>,
}
Expand description
Identifies one claim request.
This type is not used in any activity, and only used as part of another schema.
Fields§
§configuration_id: Option<i64>
Optional. The ID of the configuration applied to the device section.
customer_id: Option<i64>
The ID of the customer for whom the device is being claimed.
device_identifier: Option<DeviceIdentifier>
Required. Required. Device identifier of the device.
device_metadata: Option<DeviceMetadata>
Required. The metadata to attach to the device at claim.
google_workspace_customer_id: Option<String>
The Google Workspace customer ID.
pre_provisioning_token: Option<String>
Optional. Must and can only be set for Chrome OS devices.
section_type: Option<String>
Required. The section type of the device’s provisioning record.
simlock_profile_id: Option<i64>
Optional. Must and can only be set when DeviceProvisioningSectionType is SECTION_TYPE_SIM_LOCK. The unique identifier of the SimLock profile.
Trait Implementations§
Source§impl Clone for PartnerClaim
impl Clone for PartnerClaim
Source§fn clone(&self) -> PartnerClaim
fn clone(&self) -> PartnerClaim
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 PartnerClaim
impl Debug for PartnerClaim
Source§impl Default for PartnerClaim
impl Default for PartnerClaim
Source§fn default() -> PartnerClaim
fn default() -> PartnerClaim
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PartnerClaim
impl<'de> Deserialize<'de> for PartnerClaim
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 PartnerClaim
impl Serialize for PartnerClaim
impl Part for PartnerClaim
Auto Trait Implementations§
impl Freeze for PartnerClaim
impl RefUnwindSafe for PartnerClaim
impl Send for PartnerClaim
impl Sync for PartnerClaim
impl Unpin for PartnerClaim
impl UnwindSafe for PartnerClaim
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