Struct k8s_openapi::v1_8::api::core::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 Handler
fn clone(&self) -> Handler
[src]
fn clone(&self) -> Handler
Returns 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 Handler
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for Handler
[src]
impl Default for Handler
impl PartialEq for Handler
[src]
impl PartialEq for Handler
fn eq(&self, other: &Handler) -> bool
[src]
fn eq(&self, other: &Handler) -> bool
This 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) -> bool
This method tests for !=
.
impl<'de> Deserialize<'de> for Handler
[src]
impl<'de> Deserialize<'de> for Handler
fn 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