pub struct PipeIntegrationTemplateSpecContainersLifecyclePreStopTcpSocket {
pub host: Option<String>,
pub port: IntOrString,
}Expand description
Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for backward compatibility. There is no validation of this field and lifecycle hooks will fail at runtime when it is specified.
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 PipeIntegrationTemplateSpecContainersLifecyclePreStopTcpSocket
impl Clone for PipeIntegrationTemplateSpecContainersLifecyclePreStopTcpSocket
Source§fn clone(
&self,
) -> PipeIntegrationTemplateSpecContainersLifecyclePreStopTcpSocket
fn clone( &self, ) -> PipeIntegrationTemplateSpecContainersLifecyclePreStopTcpSocket
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 PipeIntegrationTemplateSpecContainersLifecyclePreStopTcpSocket
impl Default for PipeIntegrationTemplateSpecContainersLifecyclePreStopTcpSocket
Source§fn default() -> PipeIntegrationTemplateSpecContainersLifecyclePreStopTcpSocket
fn default() -> PipeIntegrationTemplateSpecContainersLifecyclePreStopTcpSocket
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PipeIntegrationTemplateSpecContainersLifecyclePreStopTcpSocket
impl<'de> Deserialize<'de> for PipeIntegrationTemplateSpecContainersLifecyclePreStopTcpSocket
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 PipeIntegrationTemplateSpecContainersLifecyclePreStopTcpSocket
impl PartialEq for PipeIntegrationTemplateSpecContainersLifecyclePreStopTcpSocket
Source§fn eq(
&self,
other: &PipeIntegrationTemplateSpecContainersLifecyclePreStopTcpSocket,
) -> bool
fn eq( &self, other: &PipeIntegrationTemplateSpecContainersLifecyclePreStopTcpSocket, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PipeIntegrationTemplateSpecContainersLifecyclePreStopTcpSocket
Auto Trait Implementations§
impl Freeze for PipeIntegrationTemplateSpecContainersLifecyclePreStopTcpSocket
impl RefUnwindSafe for PipeIntegrationTemplateSpecContainersLifecyclePreStopTcpSocket
impl Send for PipeIntegrationTemplateSpecContainersLifecyclePreStopTcpSocket
impl Sync for PipeIntegrationTemplateSpecContainersLifecyclePreStopTcpSocket
impl Unpin for PipeIntegrationTemplateSpecContainersLifecyclePreStopTcpSocket
impl UnwindSafe for PipeIntegrationTemplateSpecContainersLifecyclePreStopTcpSocket
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