Struct log_analysis::ip2location::IP2LocationResponse
source · pub struct IP2LocationResponse { /* private fields */ }Implementations§
source§impl IP2LocationResponse
impl IP2LocationResponse
pub fn new() -> Self
pub fn get_ip(&self) -> &Option<String>
pub fn get_country_code(&self) -> &Option<String>
pub fn get_country_name(&self) -> &Option<String>
pub fn get_region_name(&self) -> &Option<String>
pub fn get_city_name(&self) -> &Option<String>
pub fn get_latitude(&self) -> &Option<String>
pub fn get_longitude(&self) -> &Option<String>
pub fn get_zip_code(&self) -> &Option<String>
pub fn get_time_zone(&self) -> &Option<String>
pub fn get_auto_system_num(&self) -> &Option<String>
pub fn get_auto_system_name(&self) -> &Option<String>
pub fn get_is_proxy(&self) -> &Option<String>
pub fn create(&mut self, data: &str)
Trait Implementations§
source§impl Clone for IP2LocationResponse
impl Clone for IP2LocationResponse
source§fn clone(&self) -> IP2LocationResponse
fn clone(&self) -> IP2LocationResponse
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for IP2LocationResponse
impl Debug for IP2LocationResponse
source§impl PartialEq for IP2LocationResponse
impl PartialEq for IP2LocationResponse
impl Eq for IP2LocationResponse
impl StructuralPartialEq for IP2LocationResponse
Auto Trait Implementations§
impl Freeze for IP2LocationResponse
impl RefUnwindSafe for IP2LocationResponse
impl Send for IP2LocationResponse
impl Sync for IP2LocationResponse
impl Unpin for IP2LocationResponse
impl UnwindSafe for IP2LocationResponse
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.