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