pub struct ContainerCreateResponse {
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<ContainerCreateResponseMemoryLimit>,
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<ContainerCreateResponseMemoryLimit>The memory limit configured for the container.
network_policy: Option<NetworkPolicy>Network access policy for the container.
Trait Implementations§
Source§impl Clone for ContainerCreateResponse
impl Clone for ContainerCreateResponse
Source§fn clone(&self) -> ContainerCreateResponse
fn clone(&self) -> ContainerCreateResponse
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 ContainerCreateResponse
impl Debug for ContainerCreateResponse
Source§impl<'de> Deserialize<'de> for ContainerCreateResponse
impl<'de> Deserialize<'de> for ContainerCreateResponse
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 ContainerCreateResponse
impl RefUnwindSafe for ContainerCreateResponse
impl Send for ContainerCreateResponse
impl Sync for ContainerCreateResponse
impl Unpin for ContainerCreateResponse
impl UnsafeUnpin for ContainerCreateResponse
impl UnwindSafe for ContainerCreateResponse
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