pub struct ServiceOverlayInfo {
pub name: String,
pub mode: OverlayMode,
pub wg_public_key: Option<String>,
pub wg_port: Option<u16>,
pub overlay_ip: Option<IpAddr>,
pub subnet: Option<String>,
}Expand description
Identity of a dedicated per-service overlay device, reported by
SetupServiceOverlay once Dedicated mode is wired up. Shared-mode setups
leave the wg_*/overlay_ip/subnet fields None.
Fields§
§name: String§mode: OverlayMode§wg_public_key: Option<String>§wg_port: Option<u16>§overlay_ip: Option<IpAddr>§subnet: Option<String>Trait Implementations§
Source§impl Clone for ServiceOverlayInfo
impl Clone for ServiceOverlayInfo
Source§fn clone(&self) -> ServiceOverlayInfo
fn clone(&self) -> ServiceOverlayInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ServiceOverlayInfo
impl Debug for ServiceOverlayInfo
Source§impl<'de> Deserialize<'de> for ServiceOverlayInfo
impl<'de> Deserialize<'de> for ServiceOverlayInfo
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
impl Eq for ServiceOverlayInfo
Source§impl PartialEq for ServiceOverlayInfo
impl PartialEq for ServiceOverlayInfo
Source§fn eq(&self, other: &ServiceOverlayInfo) -> bool
fn eq(&self, other: &ServiceOverlayInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ServiceOverlayInfo
impl Serialize for ServiceOverlayInfo
impl StructuralPartialEq for ServiceOverlayInfo
Auto Trait Implementations§
impl Freeze for ServiceOverlayInfo
impl RefUnwindSafe for ServiceOverlayInfo
impl Send for ServiceOverlayInfo
impl Sync for ServiceOverlayInfo
impl Unpin for ServiceOverlayInfo
impl UnsafeUnpin for ServiceOverlayInfo
impl UnwindSafe for ServiceOverlayInfo
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.