Struct k8s_openapi::v1_11::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

One and only one of the following should be specified. Exec specifies the action to take.

HTTPGet specifies the http request to perform.

TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported

Trait Implementations

impl Clone for Handler
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Handler
[src]

Formats the value using the given formatter. Read more

impl Default for Handler
[src]

Returns the "default value" for a type. Read more

impl PartialEq for Handler
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'de> Deserialize<'de> for Handler
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for Handler
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

impl Send for Handler

impl Sync for Handler