pub struct EndpointPortConfig {
pub name: Option<String>,
pub protocol: String,
pub publish_mode: String,
pub published_port: Option<u64>,
pub target_port: u64,
}
Fields§
§name: Option<String>
§protocol: String
§publish_mode: String
§published_port: Option<u64>
§target_port: u64
Trait Implementations§
Source§impl Clone for EndpointPortConfig
impl Clone for EndpointPortConfig
Source§fn clone(&self) -> EndpointPortConfig
fn clone(&self) -> EndpointPortConfig
Returns a copy 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 EndpointPortConfig
impl Debug for EndpointPortConfig
Source§impl<'de> Deserialize<'de> for EndpointPortConfig
impl<'de> Deserialize<'de> for EndpointPortConfig
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 EndpointPortConfig
impl RefUnwindSafe for EndpointPortConfig
impl Send for EndpointPortConfig
impl Sync for EndpointPortConfig
impl Unpin for EndpointPortConfig
impl UnwindSafe for EndpointPortConfig
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