#[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,
}Expand description
Represents an RFC 3986 %URI. Missing components can be {NULL, NULL} ranges.
@see uriFreeUriMembersA @see uriFreeUriMembersMmA @see UriParserStateA @since 0.3.0
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
owner: UriBool< Memory owner flag
reserved: *mut c_void< Reserved to the parser
Trait Implementations§
Source§impl Clone for UriUriStructA
impl Clone for UriUriStructA
Source§fn clone(&self) -> UriUriStructA
fn clone(&self) -> UriUriStructA
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 UriUriStructA
impl Debug for UriUriStructA
Source§impl Default for UriUriStructA
impl Default for UriUriStructA
impl Copy for UriUriStructA
Auto Trait Implementations§
impl Freeze for UriUriStructA
impl RefUnwindSafe for UriUriStructA
impl !Send for UriUriStructA
impl !Sync for UriUriStructA
impl Unpin for UriUriStructA
impl UnwindSafe for UriUriStructA
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