pub struct ContainerRetrieveResponse {
pub id: String,
pub created_at: i64,
pub name: String,
pub object: String,
pub status: String,
pub expires_after: Option<ExpiresAfter>,
pub last_active_at: Option<i64>,
pub memory_limit: Option<ContainerRetrieveResponseMemoryLimit>,
pub network_policy: Option<NetworkPolicy>,
}Fields§
§id: StringUnique identifier for the container.
created_at: i64Unix timestamp (in seconds) when the container was created.
name: StringName of the container.
object: StringThe type of this object.
status: StringStatus of the container (e.g., active, deleted).
expires_after: Option<ExpiresAfter>The container will expire after this time period. The anchor is the reference
last_active_at: Option<i64>Unix timestamp (in seconds) when the container was last active.
memory_limit: Option<ContainerRetrieveResponseMemoryLimit>The memory limit configured for the container.
network_policy: Option<NetworkPolicy>Network access policy for the container.
Trait Implementations§
Source§impl Clone for ContainerRetrieveResponse
impl Clone for ContainerRetrieveResponse
Source§fn clone(&self) -> ContainerRetrieveResponse
fn clone(&self) -> ContainerRetrieveResponse
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 ContainerRetrieveResponse
impl Debug for ContainerRetrieveResponse
Source§impl<'de> Deserialize<'de> for ContainerRetrieveResponse
impl<'de> Deserialize<'de> for ContainerRetrieveResponse
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 ContainerRetrieveResponse
impl RefUnwindSafe for ContainerRetrieveResponse
impl Send for ContainerRetrieveResponse
impl Sync for ContainerRetrieveResponse
impl Unpin for ContainerRetrieveResponse
impl UnsafeUnpin for ContainerRetrieveResponse
impl UnwindSafe for ContainerRetrieveResponse
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