pub struct DedicatedInferencesPatchResponseDedicatedInferencePendingDeploymentSpec {
pub created_at: Option<DateTime<Utc>>,
pub enable_public_endpoint: Option<bool>,
pub id: Option<Uuid>,
pub model_deployments: Vec<Map<String, Value>>,
pub name: Option<DedicatedInferencesPatchResponseDedicatedInferencePendingDeploymentSpecName>,
pub status: Option<DedicatedInferencesPatchResponseDedicatedInferencePendingDeploymentSpecStatus>,
pub updated_at: Option<DateTime<Utc>>,
pub version: Option<i64>,
pub vpc: Option<DedicatedInferencesPatchResponseDedicatedInferencePendingDeploymentSpecVpc>,
}Expand description
Pending deployment when status is provisioning or updating.
JSON schema
{
"description": "Pending deployment when status is provisioning or updating.",
"type": "object",
"properties": {
"created_at": {
"examples": [
"2024-01-09T20:44:32Z"
],
"type": "string",
"format": "date-time"
},
"enable_public_endpoint": {
"description": "Whether to expose a public LLM endpoint.",
"type": "boolean"
},
"id": {
"description": "Deployment UUID.",
"examples": [
"7c6d729d-360d-44db-88e3-58e98281d12e"
],
"type": "string",
"format": "uuid"
},
"model_deployments": {
"description": "At least one model deployment is required.",
"type": "array",
"items": {
"description": "Fallback schema for missing file reference",
"type": "object",
"additionalProperties": true
},
"minItems": 1
},
"name": {
"description": "Name of the Dedicated Inference. Must be unique within the team.",
"examples": [
"new-dedicated-inference"
],
"type": "string",
"maxLength": 255,
"pattern": "^[a-zA-Z0-9_-]+$"
},
"status": {
"examples": [
"provisioning"
],
"type": "string",
"enum": [
"provisioning",
"updating"
]
},
"updated_at": {
"examples": [
"2024-01-09T20:44:32Z"
],
"type": "string",
"format": "date-time"
},
"version": {
"description": "Spec version.",
"examples": [
1
],
"type": "integer"
},
"vpc": {
"type": "object",
"required": [
"uuid"
],
"properties": {
"uuid": {
"description": "VPC UUID for the Dedicated Inference.",
"examples": [
"997615ce-132d-4bae-9270-9ee21b395e5d"
],
"type": "string",
"format": "uuid"
}
}
}
}
}Fields§
§created_at: Option<DateTime<Utc>>§enable_public_endpoint: Option<bool>Whether to expose a public LLM endpoint.
id: Option<Uuid>Deployment UUID.
model_deployments: Vec<Map<String, Value>>At least one model deployment is required.
name: Option<DedicatedInferencesPatchResponseDedicatedInferencePendingDeploymentSpecName>Name of the Dedicated Inference. Must be unique within the team.
status: Option<DedicatedInferencesPatchResponseDedicatedInferencePendingDeploymentSpecStatus>§updated_at: Option<DateTime<Utc>>§version: Option<i64>Spec version.
vpc: Option<DedicatedInferencesPatchResponseDedicatedInferencePendingDeploymentSpecVpc>Trait Implementations§
Source§impl Clone for DedicatedInferencesPatchResponseDedicatedInferencePendingDeploymentSpec
impl Clone for DedicatedInferencesPatchResponseDedicatedInferencePendingDeploymentSpec
Source§fn clone(
&self,
) -> DedicatedInferencesPatchResponseDedicatedInferencePendingDeploymentSpec
fn clone( &self, ) -> DedicatedInferencesPatchResponseDedicatedInferencePendingDeploymentSpec
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 DedicatedInferencesPatchResponseDedicatedInferencePendingDeploymentSpec
impl<'de> Deserialize<'de> for DedicatedInferencesPatchResponseDedicatedInferencePendingDeploymentSpec
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<&DedicatedInferencesPatchResponseDedicatedInferencePendingDeploymentSpec> for DedicatedInferencesPatchResponseDedicatedInferencePendingDeploymentSpec
impl From<&DedicatedInferencesPatchResponseDedicatedInferencePendingDeploymentSpec> for DedicatedInferencesPatchResponseDedicatedInferencePendingDeploymentSpec
Source§fn from(
value: &DedicatedInferencesPatchResponseDedicatedInferencePendingDeploymentSpec,
) -> Self
fn from( value: &DedicatedInferencesPatchResponseDedicatedInferencePendingDeploymentSpec, ) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DedicatedInferencesPatchResponseDedicatedInferencePendingDeploymentSpec
impl RefUnwindSafe for DedicatedInferencesPatchResponseDedicatedInferencePendingDeploymentSpec
impl Send for DedicatedInferencesPatchResponseDedicatedInferencePendingDeploymentSpec
impl Sync for DedicatedInferencesPatchResponseDedicatedInferencePendingDeploymentSpec
impl Unpin for DedicatedInferencesPatchResponseDedicatedInferencePendingDeploymentSpec
impl UnsafeUnpin for DedicatedInferencesPatchResponseDedicatedInferencePendingDeploymentSpec
impl UnwindSafe for DedicatedInferencesPatchResponseDedicatedInferencePendingDeploymentSpec
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