pub struct StaticConfiguration {
Show 14 fields pub name: String, pub ip_list: Vec<IpAddr>, pub wg_ip: Ipv4Addr, pub wg_name: String, pub wg_port: u16, pub admin_port: u16, pub subnet: Ipv4Net, pub shared_key: Vec<u8>, pub my_private_key: String, pub my_public_key: PublicKeyWithTime, pub peers: HashMap<Ipv4Addr, PublicPeer>, pub peer_cnt: usize, pub use_tui: bool, pub use_existing_interface: bool,
}

Fields

name: Stringip_list: Vec<IpAddr>wg_ip: Ipv4Addrwg_name: Stringwg_port: u16admin_port: u16subnet: Ipv4Netshared_key: Vec<u8>my_private_key: Stringmy_public_key: PublicKeyWithTimepeers: HashMap<Ipv4Addr, PublicPeer>peer_cnt: usizeuse_tui: booluse_existing_interface: bool

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.