pub struct DynamicContainerHealthCheck {
pub path: String,
pub port: i32,
}Expand description
DynamicContainerHealthCheck
JSON schema
{
"type": "object",
"required": [
"path",
"port"
],
"properties": {
"path": {
"type": "string"
},
"port": {
"type": "integer",
"format": "int32",
"minimum": 0.0
}
}
}Fields§
§path: String§port: i32Implementations§
Trait Implementations§
Source§impl Clone for DynamicContainerHealthCheck
impl Clone for DynamicContainerHealthCheck
Source§impl Debug for DynamicContainerHealthCheck
impl Debug for DynamicContainerHealthCheck
Source§impl<'de> Deserialize<'de> for DynamicContainerHealthCheck
impl<'de> Deserialize<'de> for DynamicContainerHealthCheck
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<&DynamicContainerHealthCheck> for DynamicContainerHealthCheck
impl From<&DynamicContainerHealthCheck> for DynamicContainerHealthCheck
Source§fn from(value: &DynamicContainerHealthCheck) -> Self
fn from(value: &DynamicContainerHealthCheck) -> Self
Converts to this type from the input type.
Source§impl From<DynamicContainerHealthCheck> for DynamicContainerHealthCheck
impl From<DynamicContainerHealthCheck> for DynamicContainerHealthCheck
Source§fn from(value: DynamicContainerHealthCheck) -> Self
fn from(value: DynamicContainerHealthCheck) -> Self
Converts to this type from the input type.
Source§impl TryFrom<DynamicContainerHealthCheck> for DynamicContainerHealthCheck
impl TryFrom<DynamicContainerHealthCheck> for DynamicContainerHealthCheck
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: DynamicContainerHealthCheck) -> Result<Self, ConversionError>
fn try_from(value: DynamicContainerHealthCheck) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for DynamicContainerHealthCheck
impl RefUnwindSafe for DynamicContainerHealthCheck
impl Send for DynamicContainerHealthCheck
impl Sync for DynamicContainerHealthCheck
impl Unpin for DynamicContainerHealthCheck
impl UnsafeUnpin for DynamicContainerHealthCheck
impl UnwindSafe for DynamicContainerHealthCheck
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