pub struct K8sServiceSpec {
pub selector: HashMap<String, String>,
pub ports: Vec<K8sServicePort>,
pub service_type: Option<String>,
pub cluster_ip: Option<String>,
}Fields§
§selector: HashMap<String, String>§ports: Vec<K8sServicePort>§service_type: Option<String>§cluster_ip: Option<String>Trait Implementations§
Source§impl Clone for K8sServiceSpec
impl Clone for K8sServiceSpec
Source§fn clone(&self) -> K8sServiceSpec
fn clone(&self) -> K8sServiceSpec
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 K8sServiceSpec
impl Debug for K8sServiceSpec
Source§impl<'de> Deserialize<'de> for K8sServiceSpec
impl<'de> Deserialize<'de> for K8sServiceSpec
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
Auto Trait Implementations§
impl Freeze for K8sServiceSpec
impl RefUnwindSafe for K8sServiceSpec
impl Send for K8sServiceSpec
impl Sync for K8sServiceSpec
impl Unpin for K8sServiceSpec
impl UnsafeUnpin for K8sServiceSpec
impl UnwindSafe for K8sServiceSpec
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