pub struct PotConf {
pub name: String,
pub ip_addr: Option<IpAddr>,
pub network_type: NetType,
}Fields§
§name: String§ip_addr: Option<IpAddr>§network_type: NetTypeTrait Implementations§
Auto Trait Implementations§
impl Freeze for PotConf
impl RefUnwindSafe for PotConf
impl Send for PotConf
impl Sync for PotConf
impl Unpin for PotConf
impl UnwindSafe for PotConf
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