#[repr(C)]pub struct UriHostDataStructA {
pub ip4: *mut UriIp4,
pub ip6: *mut UriIp6,
pub ipFuture: UriTextRangeA,
}Expand description
Holds structured host information. This is either a IPv4, IPv6, plain text for IPvFuture or all zero for a registered name.
@see UriUriA @since 0.3.0
Fields§
§ip4: *mut UriIp4< IPv4 address
ip6: *mut UriIp6< IPv6 address
ipFuture: UriTextRangeA< IPvFuture address
Trait Implementations§
Source§impl Clone for UriHostDataStructA
impl Clone for UriHostDataStructA
Source§fn clone(&self) -> UriHostDataStructA
fn clone(&self) -> UriHostDataStructA
Returns a duplicate 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 UriHostDataStructA
impl Debug for UriHostDataStructA
Source§impl Default for UriHostDataStructA
impl Default for UriHostDataStructA
impl Copy for UriHostDataStructA
Auto Trait Implementations§
impl Freeze for UriHostDataStructA
impl RefUnwindSafe for UriHostDataStructA
impl !Send for UriHostDataStructA
impl !Sync for UriHostDataStructA
impl Unpin for UriHostDataStructA
impl UnwindSafe for UriHostDataStructA
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