pub struct UnacquiredDeployment {
pub deployment_id: String,
pub reason: DeploymentAcquireUnavailableReason,
pub retry_after: Option<DateTime<Utc>>,
}Expand description
Atomic outcome for one explicitly requested deployment that was not acquired.
JSON schema
{
"description": "Atomic outcome for one explicitly requested deployment that was not acquired.",
"type": "object",
"required": [
"deploymentId",
"reason"
],
"properties": {
"deploymentId": {
"type": "string"
},
"reason": {
"$ref": "#/components/schemas/DeploymentAcquireUnavailableReason"
},
"retryAfter": {
"type": [
"string",
"null"
],
"format": "date-time"
}
}
}Fields§
§deployment_id: String§reason: DeploymentAcquireUnavailableReason§retry_after: Option<DateTime<Utc>>Implementations§
Source§impl UnacquiredDeployment
impl UnacquiredDeployment
pub fn builder() -> UnacquiredDeployment
Trait Implementations§
Source§impl Clone for UnacquiredDeployment
impl Clone for UnacquiredDeployment
Source§impl Debug for UnacquiredDeployment
impl Debug for UnacquiredDeployment
Source§impl<'de> Deserialize<'de> for UnacquiredDeployment
impl<'de> Deserialize<'de> for UnacquiredDeployment
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<&UnacquiredDeployment> for UnacquiredDeployment
impl From<&UnacquiredDeployment> for UnacquiredDeployment
Source§fn from(value: &UnacquiredDeployment) -> Self
fn from(value: &UnacquiredDeployment) -> Self
Converts to this type from the input type.
Source§impl From<UnacquiredDeployment> for UnacquiredDeployment
impl From<UnacquiredDeployment> for UnacquiredDeployment
Source§fn from(value: UnacquiredDeployment) -> Self
fn from(value: UnacquiredDeployment) -> Self
Converts to this type from the input type.
Source§impl Serialize for UnacquiredDeployment
impl Serialize for UnacquiredDeployment
Source§impl TryFrom<UnacquiredDeployment> for UnacquiredDeployment
impl TryFrom<UnacquiredDeployment> for UnacquiredDeployment
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: UnacquiredDeployment) -> Result<Self, ConversionError>
fn try_from(value: UnacquiredDeployment) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for UnacquiredDeployment
impl Freeze for UnacquiredDeployment
impl RefUnwindSafe for UnacquiredDeployment
impl Send for UnacquiredDeployment
impl Sync for UnacquiredDeployment
impl Unpin for UnacquiredDeployment
impl UnsafeUnpin for UnacquiredDeployment
impl UnwindSafe for UnacquiredDeployment
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