pub struct ContainerPortSpec {
pub container_port: u16,
pub name: Option<String>,
pub protocol: Option<String>,
}
Fields§
§container_port: u16
§name: Option<String>
§protocol: Option<String>
Implementations§
Trait Implementations§
Source§impl Clone for ContainerPortSpec
impl Clone for ContainerPortSpec
Source§fn clone(&self) -> ContainerPortSpec
fn clone(&self) -> ContainerPortSpec
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 ContainerPortSpec
impl Debug for ContainerPortSpec
Source§impl Default for ContainerPortSpec
impl Default for ContainerPortSpec
Source§fn default() -> ContainerPortSpec
fn default() -> ContainerPortSpec
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContainerPortSpec
impl<'de> Deserialize<'de> for ContainerPortSpec
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 ContainerPortSpec
impl RefUnwindSafe for ContainerPortSpec
impl Send for ContainerPortSpec
impl Sync for ContainerPortSpec
impl Unpin for ContainerPortSpec
impl UnwindSafe for ContainerPortSpec
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