pub struct AgentDeploymentVersion {
pub id: String,
pub deployment_id: Option<String>,
pub agent_id: Option<String>,
pub name: Option<String>,
pub image: Option<Value>,
pub region: Option<String>,
pub min_replica: Option<u32>,
pub max_replica: Option<u32>,
pub status: Option<String>,
pub active: Option<bool>,
pub version_tag: Option<String>,
pub extra: Map<String, Value>,
}Expand description
A deployment version.
Fields§
§id: StringThe version id.
deployment_id: Option<String>The deployment this version belongs to.
agent_id: Option<String>The agent this version belongs to.
name: Option<String>The version’s display name.
image: Option<Value>The container image.
region: Option<String>The region the version runs in.
min_replica: Option<u32>The minimum replica count.
max_replica: Option<u32>The maximum replica count.
status: Option<String>The version’s status.
active: Option<bool>Whether this version is active.
version_tag: Option<String>The version tag.
extra: Map<String, Value>Any fields the server returned that this SDK does not model yet.
Trait Implementations§
Source§impl Clone for AgentDeploymentVersion
impl Clone for AgentDeploymentVersion
Source§fn clone(&self) -> AgentDeploymentVersion
fn clone(&self) -> AgentDeploymentVersion
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 AgentDeploymentVersion
impl Debug for AgentDeploymentVersion
Source§impl<'de> Deserialize<'de> for AgentDeploymentVersion
impl<'de> Deserialize<'de> for AgentDeploymentVersion
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 AgentDeploymentVersion
impl RefUnwindSafe for AgentDeploymentVersion
impl Send for AgentDeploymentVersion
impl Sync for AgentDeploymentVersion
impl Unpin for AgentDeploymentVersion
impl UnsafeUnpin for AgentDeploymentVersion
impl UnwindSafe for AgentDeploymentVersion
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