Struct docker_sdk::service::EndpointPortConfig
source · 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
sourceimpl Clone for EndpointPortConfig
impl Clone for EndpointPortConfig
sourcefn clone(&self) -> EndpointPortConfig
fn clone(&self) -> EndpointPortConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for EndpointPortConfig
impl Debug for EndpointPortConfig
sourceimpl<'de> Deserialize<'de> for EndpointPortConfig
impl<'de> Deserialize<'de> for EndpointPortConfig
sourcefn 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
sourceimpl Serialize for EndpointPortConfig
impl Serialize for EndpointPortConfig
Auto Trait Implementations
impl RefUnwindSafe for EndpointPortConfig
impl Send for EndpointPortConfig
impl Sync for EndpointPortConfig
impl Unpin for EndpointPortConfig
impl UnwindSafe for EndpointPortConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more