pub struct ServiceNetworkSpec {
pub overlays: OverlayConfig,
pub join: JoinPolicy,
}Expand description
Per-service network configuration (overlay + join policy).
Fields§
§overlays: OverlayConfigOverlay network configuration
join: JoinPolicyJoin policy (who can join this service)
Trait Implementations§
Source§impl Clone for ServiceNetworkSpec
impl Clone for ServiceNetworkSpec
Source§fn clone(&self) -> ServiceNetworkSpec
fn clone(&self) -> ServiceNetworkSpec
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 ServiceNetworkSpec
impl Debug for ServiceNetworkSpec
Source§impl Default for ServiceNetworkSpec
impl Default for ServiceNetworkSpec
Source§fn default() -> ServiceNetworkSpec
fn default() -> ServiceNetworkSpec
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServiceNetworkSpec
impl<'de> Deserialize<'de> for ServiceNetworkSpec
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
Source§impl PartialEq for ServiceNetworkSpec
impl PartialEq for ServiceNetworkSpec
Source§impl Serialize for ServiceNetworkSpec
impl Serialize for ServiceNetworkSpec
impl Eq for ServiceNetworkSpec
impl StructuralPartialEq for ServiceNetworkSpec
Auto Trait Implementations§
impl Freeze for ServiceNetworkSpec
impl RefUnwindSafe for ServiceNetworkSpec
impl Send for ServiceNetworkSpec
impl Sync for ServiceNetworkSpec
impl Unpin for ServiceNetworkSpec
impl UnsafeUnpin for ServiceNetworkSpec
impl UnwindSafe for ServiceNetworkSpec
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.