pub struct PublicRingConfiguration {
pub color: Option<PublicRingColor>,
pub design: Option<PublicRingDesign>,
pub firmware_version: Option<String>,
pub hardware_type: Option<PublicRingHardwareType>,
pub id: X,
pub set_up_at: Option<UtcDateTime>,
pub size: Option<i64>,
}Expand description
Ring configuration.
JSON schema
{
"title": "PublicRingConfiguration",
"description": "Ring configuration.",
"type": "object",
"required": [
"id"
],
"properties": {
"color": {
"title": "",
"description": "Color of the ring.",
"oneOf": [
{
"type": "null"
},
{
"allOf": [
{
"$ref": "#/components/schemas/PublicRingColor"
}
]
}
]
},
"design": {
"title": "",
"description": "Design of the ring.",
"oneOf": [
{
"type": "null"
},
{
"allOf": [
{
"$ref": "#/components/schemas/PublicRingDesign"
}
]
}
]
},
"firmware_version": {
"title": "",
"description": "Firmware version of the ring.",
"type": [
"string",
"null"
]
},
"hardware_type": {
"title": "",
"description": "Hardware type of the ring.",
"oneOf": [
{
"type": "null"
},
{
"allOf": [
{
"$ref": "#/components/schemas/PublicRingHardwareType"
}
]
}
]
},
"id": {
"title": "",
"description": "Unique identifier of the object.",
"type": "string",
"minLength": 1
},
"set_up_at": {
"title": "",
"description": "UTC timestamp indicating when the ring was set up.",
"oneOf": [
{
"type": "null"
},
{
"allOf": [
{
"$ref": "#/components/schemas/UtcDateTime"
}
]
}
]
},
"size": {
"title": "",
"description": "US size of the ring.",
"type": [
"integer",
"null"
]
}
},
"x-cloud-only": true,
"x-collection": "publicringconfiguration",
"x-owner": "connectivity-squad"
}Fields§
§color: Option<PublicRingColor>Color of the ring.
design: Option<PublicRingDesign>Design of the ring.
firmware_version: Option<String>Firmware version of the ring.
hardware_type: Option<PublicRingHardwareType>Hardware type of the ring.
id: XUnique identifier of the object.
set_up_at: Option<UtcDateTime>UTC timestamp indicating when the ring was set up.
size: Option<i64>US size of the ring.
Trait Implementations§
Source§impl Clone for PublicRingConfiguration
impl Clone for PublicRingConfiguration
Source§fn clone(&self) -> PublicRingConfiguration
fn clone(&self) -> PublicRingConfiguration
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PublicRingConfiguration
impl Debug for PublicRingConfiguration
Source§impl<'de> Deserialize<'de> for PublicRingConfiguration
impl<'de> Deserialize<'de> for PublicRingConfiguration
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
Auto Trait Implementations§
impl Freeze for PublicRingConfiguration
impl RefUnwindSafe for PublicRingConfiguration
impl Send for PublicRingConfiguration
impl Sync for PublicRingConfiguration
impl Unpin for PublicRingConfiguration
impl UnsafeUnpin for PublicRingConfiguration
impl UnwindSafe for PublicRingConfiguration
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