pub struct ComputeDrainBlocker {
pub reason: String,
pub replica_id: String,
pub scheduling_mode: String,
pub state: String,
pub workload_name: String,
}Expand description
ComputeDrainBlocker
JSON schema
{
"type": "object",
"required": [
"reason",
"replicaId",
"schedulingMode",
"state",
"workloadName"
],
"properties": {
"reason": {
"type": "string"
},
"replicaId": {
"type": "string"
},
"schedulingMode": {
"type": "string"
},
"state": {
"type": "string"
},
"workloadName": {
"type": "string"
}
}
}Fields§
§reason: String§replica_id: String§scheduling_mode: String§state: String§workload_name: StringImplementations§
Source§impl ComputeDrainBlocker
impl ComputeDrainBlocker
pub fn builder() -> ComputeDrainBlocker
Trait Implementations§
Source§impl Clone for ComputeDrainBlocker
impl Clone for ComputeDrainBlocker
Source§fn clone(&self) -> ComputeDrainBlocker
fn clone(&self) -> ComputeDrainBlocker
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 ComputeDrainBlocker
impl Debug for ComputeDrainBlocker
Source§impl<'de> Deserialize<'de> for ComputeDrainBlocker
impl<'de> Deserialize<'de> for ComputeDrainBlocker
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<&ComputeDrainBlocker> for ComputeDrainBlocker
impl From<&ComputeDrainBlocker> for ComputeDrainBlocker
Source§fn from(value: &ComputeDrainBlocker) -> Self
fn from(value: &ComputeDrainBlocker) -> Self
Converts to this type from the input type.
Source§impl From<ComputeDrainBlocker> for ComputeDrainBlocker
impl From<ComputeDrainBlocker> for ComputeDrainBlocker
Source§fn from(value: ComputeDrainBlocker) -> Self
fn from(value: ComputeDrainBlocker) -> Self
Converts to this type from the input type.
Source§impl Serialize for ComputeDrainBlocker
impl Serialize for ComputeDrainBlocker
Source§impl TryFrom<ComputeDrainBlocker> for ComputeDrainBlocker
impl TryFrom<ComputeDrainBlocker> for ComputeDrainBlocker
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ComputeDrainBlocker) -> Result<Self, ConversionError>
fn try_from(value: ComputeDrainBlocker) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ComputeDrainBlocker
impl RefUnwindSafe for ComputeDrainBlocker
impl Send for ComputeDrainBlocker
impl Sync for ComputeDrainBlocker
impl Unpin for ComputeDrainBlocker
impl UnsafeUnpin for ComputeDrainBlocker
impl UnwindSafe for ComputeDrainBlocker
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