pub struct ComputeCapacityBlocker {
pub category: ComputeCapacityBlockerCategory,
pub message: String,
pub observed_at: DateTime<Utc>,
pub provider_code: Option<String>,
pub provider_reference: Option<String>,
}Expand description
ComputeCapacityBlocker
JSON schema
{
"type": "object",
"required": [
"category",
"message",
"observedAt"
],
"properties": {
"category": {
"$ref": "#/components/schemas/ComputeCapacityBlockerCategory"
},
"message": {
"type": "string"
},
"observedAt": {
"type": "string",
"format": "date-time"
},
"providerCode": {
"type": [
"string",
"null"
]
},
"providerReference": {
"type": [
"string",
"null"
]
}
}
}Fields§
§category: ComputeCapacityBlockerCategory§message: String§observed_at: DateTime<Utc>§provider_code: Option<String>§provider_reference: Option<String>Implementations§
Source§impl ComputeCapacityBlocker
impl ComputeCapacityBlocker
pub fn builder() -> ComputeCapacityBlocker
Trait Implementations§
Source§impl Clone for ComputeCapacityBlocker
impl Clone for ComputeCapacityBlocker
Source§fn clone(&self) -> ComputeCapacityBlocker
fn clone(&self) -> ComputeCapacityBlocker
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 ComputeCapacityBlocker
impl Debug for ComputeCapacityBlocker
Source§impl<'de> Deserialize<'de> for ComputeCapacityBlocker
impl<'de> Deserialize<'de> for ComputeCapacityBlocker
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<&ComputeCapacityBlocker> for ComputeCapacityBlocker
impl From<&ComputeCapacityBlocker> for ComputeCapacityBlocker
Source§fn from(value: &ComputeCapacityBlocker) -> Self
fn from(value: &ComputeCapacityBlocker) -> Self
Converts to this type from the input type.
Source§impl From<ComputeCapacityBlocker> for ComputeCapacityBlocker
impl From<ComputeCapacityBlocker> for ComputeCapacityBlocker
Source§fn from(value: ComputeCapacityBlocker) -> Self
fn from(value: ComputeCapacityBlocker) -> Self
Converts to this type from the input type.
Source§impl Serialize for ComputeCapacityBlocker
impl Serialize for ComputeCapacityBlocker
Source§impl TryFrom<ComputeCapacityBlocker> for ComputeCapacityBlocker
impl TryFrom<ComputeCapacityBlocker> for ComputeCapacityBlocker
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ComputeCapacityBlocker) -> Result<Self, ConversionError>
fn try_from(value: ComputeCapacityBlocker) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ComputeCapacityBlocker
impl RefUnwindSafe for ComputeCapacityBlocker
impl Send for ComputeCapacityBlocker
impl Sync for ComputeCapacityBlocker
impl Unpin for ComputeCapacityBlocker
impl UnsafeUnpin for ComputeCapacityBlocker
impl UnwindSafe for ComputeCapacityBlocker
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