pub struct TagsCreateBodyResourcesDroplets {
pub count: Option<u64>,
pub last_tagged_uri: Option<String>,
}Expand description
TagsCreateBodyResourcesDroplets
JSON schema
{
"allOf": [
{
"description": "Droplets that are tagged with the specified tag.<br>Requires `droplet:read` scope."
},
{
"description": "Tagged Resource Statistics include metadata regarding the resource type that has been tagged.",
"type": "object",
"properties": {
"count": {
"description": "The number of tagged objects for this type of resource.",
"examples": [
5
],
"type": "integer",
"minimum": 0.0
},
"last_tagged_uri": {
"description": "The URI for the last tagged object for this type of resource.",
"examples": [
"https://api.digitalocean.com/v2/images/7555620"
],
"type": "string"
}
}
}
]
}Fields§
§count: Option<u64>The number of tagged objects for this type of resource.
last_tagged_uri: Option<String>The URI for the last tagged object for this type of resource.
Trait Implementations§
Source§impl Clone for TagsCreateBodyResourcesDroplets
impl Clone for TagsCreateBodyResourcesDroplets
Source§fn clone(&self) -> TagsCreateBodyResourcesDroplets
fn clone(&self) -> TagsCreateBodyResourcesDroplets
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<'de> Deserialize<'de> for TagsCreateBodyResourcesDroplets
impl<'de> Deserialize<'de> for TagsCreateBodyResourcesDroplets
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 From<&TagsCreateBodyResourcesDroplets> for TagsCreateBodyResourcesDroplets
impl From<&TagsCreateBodyResourcesDroplets> for TagsCreateBodyResourcesDroplets
Source§fn from(value: &TagsCreateBodyResourcesDroplets) -> Self
fn from(value: &TagsCreateBodyResourcesDroplets) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TagsCreateBodyResourcesDroplets
impl RefUnwindSafe for TagsCreateBodyResourcesDroplets
impl Send for TagsCreateBodyResourcesDroplets
impl Sync for TagsCreateBodyResourcesDroplets
impl Unpin for TagsCreateBodyResourcesDroplets
impl UnsafeUnpin for TagsCreateBodyResourcesDroplets
impl UnwindSafe for TagsCreateBodyResourcesDroplets
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