Struct uriparser_sys::UriUriStructA[][src]

#[repr(C)]pub struct UriUriStructA {
    pub scheme: UriTextRangeA,
    pub userInfo: UriTextRangeA,
    pub hostText: UriTextRangeA,
    pub hostData: UriHostDataA,
    pub portText: UriTextRangeA,
    pub pathHead: *mut UriPathSegmentA,
    pub pathTail: *mut UriPathSegmentA,
    pub query: UriTextRangeA,
    pub fragment: UriTextRangeA,
    pub absolutePath: UriBool,
    pub owner: UriBool,
    pub reserved: *mut c_void,
}

Fields

scheme: UriTextRangeA

< Scheme (e.g. “http”)

userInfo: UriTextRangeA

< User info (e.g. “user:pass”)

hostText: UriTextRangeA

< Host text (set for all hosts, excluding square brackets)

hostData: UriHostDataA

< Structured host type specific data

portText: UriTextRangeA

< Port (e.g. “80”)

pathHead: *mut UriPathSegmentA

< Head of a linked list of path segments

pathTail: *mut UriPathSegmentA

< Tail of the list behind pathHead

query: UriTextRangeA

< Query without leading “?”

fragment: UriTextRangeA

< Query without leading “#”

absolutePath: UriBool

< Absolute path flag, distincting “a” and “/a”; always URI_FALSE for URIs with host

owner: UriBool

< Memory owner flag

reserved: *mut c_void

< Reserved to the parser

Trait Implementations

impl Clone for UriUriStructA[src]

impl Copy for UriUriStructA[src]

impl Debug for UriUriStructA[src]

impl Default for UriUriStructA[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.