pub struct GetIPResponse {
pub status: Option<String>,
pub ip: Option<String>,
}Expand description
Response body for Client::get_ip (wire method getIP).
Fields§
§status: Option<String>§ip: Option<String>Trait Implementations§
Source§impl Clone for GetIPResponse
impl Clone for GetIPResponse
Source§fn clone(&self) -> GetIPResponse
fn clone(&self) -> GetIPResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetIPResponse
impl Debug for GetIPResponse
Source§impl Default for GetIPResponse
impl Default for GetIPResponse
Source§fn default() -> GetIPResponse
fn default() -> GetIPResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetIPResponse
impl<'de> Deserialize<'de> for GetIPResponse
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 GetIPResponse
impl RefUnwindSafe for GetIPResponse
impl Send for GetIPResponse
impl Sync for GetIPResponse
impl Unpin for GetIPResponse
impl UnsafeUnpin for GetIPResponse
impl UnwindSafe for GetIPResponse
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