Struct k8s_openapi::api::core::v1::GRPCAction
source · pub struct GRPCAction {
pub port: i32,
pub service: Option<String>,
}
Fields§
§port: i32
Port 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 GRPCAction
impl Clone for GRPCAction
source§fn clone(&self) -> GRPCAction
fn clone(&self) -> GRPCAction
Returns a copy 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 Debug for GRPCAction
impl Debug for GRPCAction
source§impl DeepMerge for GRPCAction
impl DeepMerge for GRPCAction
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for GRPCAction
impl Default for GRPCAction
source§fn default() -> GRPCAction
fn default() -> GRPCAction
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GRPCAction
impl<'de> Deserialize<'de> for GRPCAction
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<GRPCAction> for GRPCAction
impl PartialEq<GRPCAction> for GRPCAction
source§fn eq(&self, other: &GRPCAction) -> bool
fn eq(&self, other: &GRPCAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GRPCAction
impl Serialize for GRPCAction
impl StructuralPartialEq for GRPCAction
Auto Trait Implementations§
impl RefUnwindSafe for GRPCAction
impl Send for GRPCAction
impl Sync for GRPCAction
impl Unpin for GRPCAction
impl UnwindSafe for GRPCAction
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