pub struct IoK8sApiCoreV1GrpcAction {
pub port: i64,
pub service: Option<String>,
}Fields§
§port: i64Port 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 IoK8sApiCoreV1GrpcAction
impl Clone for IoK8sApiCoreV1GrpcAction
Source§fn clone(&self) -> IoK8sApiCoreV1GrpcAction
fn clone(&self) -> IoK8sApiCoreV1GrpcAction
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 Debug for IoK8sApiCoreV1GrpcAction
impl Debug for IoK8sApiCoreV1GrpcAction
Source§impl<'de> Deserialize<'de> for IoK8sApiCoreV1GrpcAction
impl<'de> Deserialize<'de> for IoK8sApiCoreV1GrpcAction
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 From<&IoK8sApiCoreV1GrpcAction> for IoK8sApiCoreV1GrpcAction
impl From<&IoK8sApiCoreV1GrpcAction> for IoK8sApiCoreV1GrpcAction
Source§fn from(value: &IoK8sApiCoreV1GrpcAction) -> Self
fn from(value: &IoK8sApiCoreV1GrpcAction) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IoK8sApiCoreV1GrpcAction
impl RefUnwindSafe for IoK8sApiCoreV1GrpcAction
impl Send for IoK8sApiCoreV1GrpcAction
impl Sync for IoK8sApiCoreV1GrpcAction
impl Unpin for IoK8sApiCoreV1GrpcAction
impl UnwindSafe for IoK8sApiCoreV1GrpcAction
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