pub struct HostIP {
pub ip: String,
}
Expand description
HostIP represents a single IP address allocated to the host.
Fields§
§ip: String
IP is the IP address assigned to the host
Trait Implementations§
source§impl<'de> Deserialize<'de> for HostIP
impl<'de> Deserialize<'de> for HostIP
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 HostIP
Auto Trait Implementations§
impl Freeze for HostIP
impl RefUnwindSafe for HostIP
impl Send for HostIP
impl Sync for HostIP
impl Unpin for HostIP
impl UnwindSafe for HostIP
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
)