Struct k8s_openapi::api::core::v1::TCPSocketAction [−][src]
pub struct TCPSocketAction {
pub host: Option<String>,
pub port: IntOrString,
}
Expand description
TCPSocketAction describes an action based on opening a socket
Fields
host: Option<String>
Optional: Host name to connect to, defaults to the pod IP.
port: IntOrString
Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
Trait Implementations
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TCPSocketAction
impl Send for TCPSocketAction
impl Sync for TCPSocketAction
impl Unpin for TCPSocketAction
impl UnwindSafe for TCPSocketAction
Blanket Implementations
Mutably borrows from an owned value. Read more