pub struct ClaimDeviceResponse {
pub device_id: Option<i64>,
pub device_name: Option<String>,
}
Expand description
Response message containing device id of the claim.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- devices claim partners (response)
Fields§
§device_id: Option<i64>
The device ID of the claimed device.
device_name: Option<String>
The resource name of the device in the format partners/[PARTNER_ID]/devices/[DEVICE_ID]
.
Trait Implementations§
source§impl Clone for ClaimDeviceResponse
impl Clone for ClaimDeviceResponse
source§fn clone(&self) -> ClaimDeviceResponse
fn clone(&self) -> ClaimDeviceResponse
Returns a copy 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 ClaimDeviceResponse
impl Debug for ClaimDeviceResponse
source§impl Default for ClaimDeviceResponse
impl Default for ClaimDeviceResponse
source§fn default() -> ClaimDeviceResponse
fn default() -> ClaimDeviceResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ClaimDeviceResponse
impl<'de> Deserialize<'de> for ClaimDeviceResponse
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 ClaimDeviceResponse
impl Serialize for ClaimDeviceResponse
impl ResponseResult for ClaimDeviceResponse
Auto Trait Implementations§
impl RefUnwindSafe for ClaimDeviceResponse
impl Send for ClaimDeviceResponse
impl Sync for ClaimDeviceResponse
impl Unpin for ClaimDeviceResponse
impl UnwindSafe for ClaimDeviceResponse
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