pub struct ProbeHandler {
    pub exec: Option<ExecAction>,
    pub grpc: Option<GrpcAction>,
    pub http_get: Option<HttpGetAction>,
    pub tcp_socket: Option<TcpSocketAction>,
}Expand description
One and only one of the fields must be specified.
Fields§
§exec: Option<ExecAction>§grpc: Option<GrpcAction>§http_get: Option<HttpGetAction>§tcp_socket: Option<TcpSocketAction>Implementations§
Source§impl ProbeHandler
 
impl ProbeHandler
pub fn new() -> ProbeHandler
Trait Implementations§
Source§impl Clone for ProbeHandler
 
impl Clone for ProbeHandler
Source§fn clone(&self) -> ProbeHandler
 
fn clone(&self) -> ProbeHandler
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 ProbeHandler
 
impl Debug for ProbeHandler
Source§impl<'de> Deserialize<'de> for ProbeHandler
 
impl<'de> Deserialize<'de> for ProbeHandler
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 FromStr for ProbeHandler
Converts Query Parameters representation (style=form, explode=false) to a ProbeHandler value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
 
impl FromStr for ProbeHandler
Converts Query Parameters representation (style=form, explode=false) to a ProbeHandler value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for ProbeHandler
 
impl PartialEq for ProbeHandler
Source§impl Serialize for ProbeHandler
 
impl Serialize for ProbeHandler
Source§impl ToString for ProbeHandler
Converts the ProbeHandler value to the Query Parameters representation (style=form, explode=false)
specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde serializer
 
impl ToString for ProbeHandler
Converts the ProbeHandler value to the Query Parameters representation (style=form, explode=false) specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde serializer
Source§impl Validate for ProbeHandler
 
impl Validate for ProbeHandler
Source§impl<'v_a> ValidateArgs<'v_a> for ProbeHandler
 
impl<'v_a> ValidateArgs<'v_a> for ProbeHandler
impl StructuralPartialEq for ProbeHandler
Auto Trait Implementations§
impl Freeze for ProbeHandler
impl RefUnwindSafe for ProbeHandler
impl Send for ProbeHandler
impl Sync for ProbeHandler
impl Unpin for ProbeHandler
impl UnwindSafe for ProbeHandler
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