pub struct RuntimeComponentInitContainersStartupProbeTcpSocket {
pub host: Option<String>,
pub port: IntOrString,
}Expand description
TCPSocket specifies a connection to a TCP port.
Fields§
§host: Option<String>Optional: Host name to connect to, defaults to the pod IP.
port: IntOrStringNumber 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§
Source§impl Clone for RuntimeComponentInitContainersStartupProbeTcpSocket
impl Clone for RuntimeComponentInitContainersStartupProbeTcpSocket
Source§fn clone(&self) -> RuntimeComponentInitContainersStartupProbeTcpSocket
fn clone(&self) -> RuntimeComponentInitContainersStartupProbeTcpSocket
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 Default for RuntimeComponentInitContainersStartupProbeTcpSocket
impl Default for RuntimeComponentInitContainersStartupProbeTcpSocket
Source§fn default() -> RuntimeComponentInitContainersStartupProbeTcpSocket
fn default() -> RuntimeComponentInitContainersStartupProbeTcpSocket
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RuntimeComponentInitContainersStartupProbeTcpSocket
impl<'de> Deserialize<'de> for RuntimeComponentInitContainersStartupProbeTcpSocket
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 PartialEq for RuntimeComponentInitContainersStartupProbeTcpSocket
impl PartialEq for RuntimeComponentInitContainersStartupProbeTcpSocket
Source§fn eq(
&self,
other: &RuntimeComponentInitContainersStartupProbeTcpSocket,
) -> bool
fn eq( &self, other: &RuntimeComponentInitContainersStartupProbeTcpSocket, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RuntimeComponentInitContainersStartupProbeTcpSocket
Auto Trait Implementations§
impl Freeze for RuntimeComponentInitContainersStartupProbeTcpSocket
impl RefUnwindSafe for RuntimeComponentInitContainersStartupProbeTcpSocket
impl Send for RuntimeComponentInitContainersStartupProbeTcpSocket
impl Sync for RuntimeComponentInitContainersStartupProbeTcpSocket
impl Unpin for RuntimeComponentInitContainersStartupProbeTcpSocket
impl UnwindSafe for RuntimeComponentInitContainersStartupProbeTcpSocket
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