Struct k8s_openapi::v1_7::kubernetes::pkg::api::v1::Handler [−][src]
pub struct Handler {
pub exec: Option<ExecAction>,
pub http_get: Option<HTTPGetAction>,
pub tcp_socket: Option<TCPSocketAction>,
}Handler defines a specific action that should be taken
Fields
exec: Option<ExecAction>
One and only one of the following should be specified. Exec specifies the action to take.
http_get: Option<HTTPGetAction>
HTTPGet specifies the http request to perform.
tcp_socket: Option<TCPSocketAction>
TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported
Trait Implementations
impl Clone for Handler[src]
impl Clone for Handlerfn clone(&self) -> Handler[src]
fn clone(&self) -> HandlerReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for Handler[src]
impl Debug for Handlerfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for Handler[src]
impl Default for Handlerimpl PartialEq for Handler[src]
impl PartialEq for Handlerfn eq(&self, other: &Handler) -> bool[src]
fn eq(&self, other: &Handler) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Handler) -> bool[src]
fn ne(&self, other: &Handler) -> boolThis method tests for !=.
impl<'de> Deserialize<'de> for Handler[src]
impl<'de> Deserialize<'de> for Handlerfn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, [src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more
impl Serialize for Handler[src]
impl Serialize for Handler