pub struct GeoIpConfig {
pub path: Option<PathBuf>,
}
Expand description
GeoIp database configuration options.
Fields§
§path: Option<PathBuf>
The path to GeoIP database.
Trait Implementations§
Source§impl Debug for GeoIpConfig
impl Debug for GeoIpConfig
Source§impl Default for GeoIpConfig
impl Default for GeoIpConfig
Source§fn default() -> GeoIpConfig
fn default() -> GeoIpConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GeoIpConfig
impl<'de> Deserialize<'de> for GeoIpConfig
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 GeoIpConfig
impl RefUnwindSafe for GeoIpConfig
impl Send for GeoIpConfig
impl Sync for GeoIpConfig
impl Unpin for GeoIpConfig
impl UnwindSafe for GeoIpConfig
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