pub struct RuntimeComponentInitContainersLivenessProbeGrpc {
pub port: i32,
pub service: Option<String>,
}Expand description
GRPC specifies a GRPC HealthCheckRequest.
Fields§
§port: i32Port number of the gRPC service. Number must be in the range 1 to 65535.
service: Option<String>Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
If this is not specified, the default behavior is defined by gRPC.
Trait Implementations§
Source§impl Clone for RuntimeComponentInitContainersLivenessProbeGrpc
impl Clone for RuntimeComponentInitContainersLivenessProbeGrpc
Source§fn clone(&self) -> RuntimeComponentInitContainersLivenessProbeGrpc
fn clone(&self) -> RuntimeComponentInitContainersLivenessProbeGrpc
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 RuntimeComponentInitContainersLivenessProbeGrpc
impl Default for RuntimeComponentInitContainersLivenessProbeGrpc
Source§fn default() -> RuntimeComponentInitContainersLivenessProbeGrpc
fn default() -> RuntimeComponentInitContainersLivenessProbeGrpc
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RuntimeComponentInitContainersLivenessProbeGrpc
impl<'de> Deserialize<'de> for RuntimeComponentInitContainersLivenessProbeGrpc
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 RuntimeComponentInitContainersLivenessProbeGrpc
impl PartialEq for RuntimeComponentInitContainersLivenessProbeGrpc
Source§fn eq(&self, other: &RuntimeComponentInitContainersLivenessProbeGrpc) -> bool
fn eq(&self, other: &RuntimeComponentInitContainersLivenessProbeGrpc) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RuntimeComponentInitContainersLivenessProbeGrpc
Auto Trait Implementations§
impl Freeze for RuntimeComponentInitContainersLivenessProbeGrpc
impl RefUnwindSafe for RuntimeComponentInitContainersLivenessProbeGrpc
impl Send for RuntimeComponentInitContainersLivenessProbeGrpc
impl Sync for RuntimeComponentInitContainersLivenessProbeGrpc
impl Unpin for RuntimeComponentInitContainersLivenessProbeGrpc
impl UnwindSafe for RuntimeComponentInitContainersLivenessProbeGrpc
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