pub struct RegistryRunGarbageCollectionResponseGarbageCollection {
pub blobs_deleted: Option<i64>,
pub created_at: Option<DateTime<Utc>>,
pub freed_bytes: Option<i64>,
pub registry_name: Option<String>,
pub status: Option<RegistryRunGarbageCollectionResponseGarbageCollectionStatus>,
pub updated_at: Option<DateTime<Utc>>,
pub uuid: Option<String>,
}Expand description
RegistryRunGarbageCollectionResponseGarbageCollection
JSON schema
{
"type": "object",
"properties": {
"blobs_deleted": {
"description": "The number of blobs deleted as a result of this garbage collection.",
"examples": [
42
],
"type": "integer"
},
"created_at": {
"description": "The time the garbage collection was created.",
"examples": [
"2020-10-30T21:03:24Z"
],
"type": "string",
"format": "date-time"
},
"freed_bytes": {
"description": "The number of bytes freed as a result of this garbage collection.",
"examples": [
667
],
"type": "integer"
},
"registry_name": {
"description": "The name of the container registry.",
"examples": [
"example"
],
"type": "string"
},
"status": {
"description": "The current status of this garbage collection.",
"examples": [
"requested"
],
"type": "string",
"enum": [
"requested",
"waiting for write JWTs to expire",
"scanning manifests",
"deleting unreferenced blobs",
"cancelling",
"failed",
"succeeded",
"cancelled"
]
},
"updated_at": {
"description": "The time the garbage collection was last updated.",
"examples": [
"2020-10-30T21:03:44Z"
],
"type": "string",
"format": "date-time"
},
"uuid": {
"description": "A string specifying the UUID of the garbage collection.",
"examples": [
"eff0feee-49c7-4e8f-ba5c-a320c109c8a8"
],
"type": "string"
}
}
}Fields§
§blobs_deleted: Option<i64>The number of blobs deleted as a result of this garbage collection.
created_at: Option<DateTime<Utc>>The time the garbage collection was created.
freed_bytes: Option<i64>The number of bytes freed as a result of this garbage collection.
registry_name: Option<String>The name of the container registry.
status: Option<RegistryRunGarbageCollectionResponseGarbageCollectionStatus>The current status of this garbage collection.
updated_at: Option<DateTime<Utc>>The time the garbage collection was last updated.
uuid: Option<String>A string specifying the UUID of the garbage collection.
Trait Implementations§
Source§impl Clone for RegistryRunGarbageCollectionResponseGarbageCollection
impl Clone for RegistryRunGarbageCollectionResponseGarbageCollection
Source§fn clone(&self) -> RegistryRunGarbageCollectionResponseGarbageCollection
fn clone(&self) -> RegistryRunGarbageCollectionResponseGarbageCollection
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 RegistryRunGarbageCollectionResponseGarbageCollection
impl<'de> Deserialize<'de> for RegistryRunGarbageCollectionResponseGarbageCollection
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<&RegistryRunGarbageCollectionResponseGarbageCollection> for RegistryRunGarbageCollectionResponseGarbageCollection
impl From<&RegistryRunGarbageCollectionResponseGarbageCollection> for RegistryRunGarbageCollectionResponseGarbageCollection
Source§fn from(value: &RegistryRunGarbageCollectionResponseGarbageCollection) -> Self
fn from(value: &RegistryRunGarbageCollectionResponseGarbageCollection) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RegistryRunGarbageCollectionResponseGarbageCollection
impl RefUnwindSafe for RegistryRunGarbageCollectionResponseGarbageCollection
impl Send for RegistryRunGarbageCollectionResponseGarbageCollection
impl Sync for RegistryRunGarbageCollectionResponseGarbageCollection
impl Unpin for RegistryRunGarbageCollectionResponseGarbageCollection
impl UnsafeUnpin for RegistryRunGarbageCollectionResponseGarbageCollection
impl UnwindSafe for RegistryRunGarbageCollectionResponseGarbageCollection
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