pub struct ServiceCheck {Show 24 fields
pub address_mode: Option<String>,
pub advertise: Option<String>,
pub args: Option<Vec<String>>,
pub body: Option<String>,
pub check_restart: Option<CheckRestart>,
pub command: Option<String>,
pub expose: Option<bool>,
pub failures_before_critical: Option<i32>,
pub grpc_service: Option<String>,
pub grpc_use_tls: Option<bool>,
pub header: Option<HashMap<String, Vec<String>>>,
pub initial_status: Option<String>,
pub interval: Option<i64>,
pub method: Option<String>,
pub name: Option<String>,
pub on_update: Option<String>,
pub path: Option<String>,
pub port_label: Option<String>,
pub protocol: Option<String>,
pub success_before_passing: Option<i32>,
pub tls_skip_verify: Option<bool>,
pub task_name: Option<String>,
pub timeout: Option<i64>,
pub _type: Option<String>,
}Fields§
§address_mode: Option<String>§advertise: Option<String>§args: Option<Vec<String>>§body: Option<String>§check_restart: Option<CheckRestart>§command: Option<String>§expose: Option<bool>§failures_before_critical: Option<i32>§grpc_service: Option<String>§grpc_use_tls: Option<bool>§header: Option<HashMap<String, Vec<String>>>§initial_status: Option<String>§interval: Option<i64>§method: Option<String>§name: Option<String>§on_update: Option<String>§path: Option<String>§port_label: Option<String>§protocol: Option<String>§success_before_passing: Option<i32>§tls_skip_verify: Option<bool>§task_name: Option<String>§timeout: Option<i64>§_type: Option<String>Trait Implementations§
Source§impl Clone for ServiceCheck
impl Clone for ServiceCheck
Source§fn clone(&self) -> ServiceCheck
fn clone(&self) -> ServiceCheck
Returns a duplicate of the value. Read more
1.0.0 · 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 ServiceCheck
impl Debug for ServiceCheck
Source§impl Default for ServiceCheck
impl Default for ServiceCheck
Source§fn default() -> ServiceCheck
fn default() -> ServiceCheck
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServiceCheck
impl<'de> Deserialize<'de> for ServiceCheck
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 PartialEq for ServiceCheck
impl PartialEq for ServiceCheck
Source§impl Serialize for ServiceCheck
impl Serialize for ServiceCheck
impl StructuralPartialEq for ServiceCheck
Auto Trait Implementations§
impl Freeze for ServiceCheck
impl RefUnwindSafe for ServiceCheck
impl Send for ServiceCheck
impl Sync for ServiceCheck
impl Unpin for ServiceCheck
impl UnwindSafe for ServiceCheck
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