pub struct Traits {
pub is_anycast: Option<bool>,
}Expand description
Traits data for Country/City records.
Fields§
§is_anycast: Option<bool>True if the IP belongs to an anycast network. See https://en.wikipedia.org/wiki/Anycast.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Traits
impl<'de> Deserialize<'de> for Traits
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
impl StructuralPartialEq for Traits
Auto Trait Implementations§
impl Freeze for Traits
impl RefUnwindSafe for Traits
impl Send for Traits
impl Sync for Traits
impl Unpin for Traits
impl UnwindSafe for Traits
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