pub struct K8sContainerPort {
pub container_port: u16,
pub name: Option<String>,
pub protocol: Option<String>,
}Fields§
§container_port: u16§name: Option<String>§protocol: Option<String>Trait Implementations§
Source§impl Clone for K8sContainerPort
impl Clone for K8sContainerPort
Source§fn clone(&self) -> K8sContainerPort
fn clone(&self) -> K8sContainerPort
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 K8sContainerPort
impl Debug for K8sContainerPort
Source§impl<'de> Deserialize<'de> for K8sContainerPort
impl<'de> Deserialize<'de> for K8sContainerPort
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 K8sContainerPort
impl RefUnwindSafe for K8sContainerPort
impl Send for K8sContainerPort
impl Sync for K8sContainerPort
impl Unpin for K8sContainerPort
impl UnsafeUnpin for K8sContainerPort
impl UnwindSafe for K8sContainerPort
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