pub struct ServiceNetworkConfig {
pub aliases: Vec<String>,
}Expand description
Per-service network configuration.
Fields§
§aliases: Vec<String>Network aliases for this service.
Trait Implementations§
Source§impl Clone for ServiceNetworkConfig
impl Clone for ServiceNetworkConfig
Source§fn clone(&self) -> ServiceNetworkConfig
fn clone(&self) -> ServiceNetworkConfig
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 ServiceNetworkConfig
impl Debug for ServiceNetworkConfig
Source§impl Default for ServiceNetworkConfig
impl Default for ServiceNetworkConfig
Source§fn default() -> ServiceNetworkConfig
fn default() -> ServiceNetworkConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServiceNetworkConfig
impl<'de> Deserialize<'de> for ServiceNetworkConfig
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 ServiceNetworkConfig
impl RefUnwindSafe for ServiceNetworkConfig
impl Send for ServiceNetworkConfig
impl Sync for ServiceNetworkConfig
impl Unpin for ServiceNetworkConfig
impl UnsafeUnpin for ServiceNetworkConfig
impl UnwindSafe for ServiceNetworkConfig
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