pub struct OverlayAgentConfig {
pub private_key: String,
pub public_key: Option<String>,
pub wg_port: u16,
pub global: GlobalOverlayConfig,
pub dns: DnsConfig,
}Expand description
Overlay network configuration for agents
Fields§
§private_key: StringOverlay private key (x25519)
public_key: Option<String>Overlay public key (derived from private key)
wg_port: u16Listen port for overlay network (WireGuard protocol)
global: GlobalOverlayConfigGlobal overlay network configuration
dns: DnsConfigDNS configuration
Trait Implementations§
Source§impl Clone for OverlayAgentConfig
impl Clone for OverlayAgentConfig
Source§fn clone(&self) -> OverlayAgentConfig
fn clone(&self) -> OverlayAgentConfig
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 OverlayAgentConfig
impl Debug for OverlayAgentConfig
Source§impl Default for OverlayAgentConfig
impl Default for OverlayAgentConfig
Source§impl<'de> Deserialize<'de> for OverlayAgentConfig
impl<'de> Deserialize<'de> for OverlayAgentConfig
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 OverlayAgentConfig
impl PartialEq for OverlayAgentConfig
Source§impl Serialize for OverlayAgentConfig
impl Serialize for OverlayAgentConfig
impl Eq for OverlayAgentConfig
impl StructuralPartialEq for OverlayAgentConfig
Auto Trait Implementations§
impl Freeze for OverlayAgentConfig
impl RefUnwindSafe for OverlayAgentConfig
impl Send for OverlayAgentConfig
impl Sync for OverlayAgentConfig
impl Unpin for OverlayAgentConfig
impl UnsafeUnpin for OverlayAgentConfig
impl UnwindSafe for OverlayAgentConfig
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.