pub struct PushReply {
pub routes: Vec<PushRoute>,
pub ifconfig: Option<(String, String)>,
pub ifconfig_ipv6: Option<String>,
pub dns: Vec<String>,
pub dns_search: Vec<String>,
pub redirect_gateway: bool,
pub topology: Topology,
pub ping: u32,
pub ping_restart: u32,
pub options: Vec<String>,
}Expand description
Push reply containing VPN configuration
Fields§
§routes: Vec<PushRoute>Routes to push
ifconfig: Option<(String, String)>IPv4 address and netmask
ifconfig_ipv6: Option<String>IPv6 address
dns: Vec<String>DNS servers
dns_search: Vec<String>Search domains
redirect_gateway: boolRedirect gateway (full tunnel)
topology: TopologyTopology type
ping: u32Ping interval
ping_restart: u32Ping restart timeout
options: Vec<String>Additional options
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PushReply
impl<'de> Deserialize<'de> for PushReply
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 PushReply
impl RefUnwindSafe for PushReply
impl Send for PushReply
impl Sync for PushReply
impl Unpin for PushReply
impl UnwindSafe for PushReply
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