Struct k8s_openapi::kube_aggregator::pkg::apis::apiregistration::v1beta1::ServiceReference [−][src]
pub struct ServiceReference {
pub name: Option<String>,
pub namespace: Option<String>,
pub port: Option<i32>,
}Expand description
ServiceReference holds a reference to Service.legacy.k8s.io
Fields
name: Option<String>Name is the name of the service
namespace: Option<String>Namespace is the namespace of the service
port: Option<i32>If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. port should be a valid port number (1-65535, inclusive).
Trait Implementations
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ServiceReferenceimpl Send for ServiceReferenceimpl Sync for ServiceReferenceimpl Unpin for ServiceReferenceimpl UnwindSafe for ServiceReferenceBlanket Implementations
Mutably borrows from an owned value. Read more