#[repr(C)]pub struct _cef_urlparts_t {
pub size: usize,
pub spec: cef_string_t,
pub scheme: cef_string_t,
pub username: cef_string_t,
pub password: cef_string_t,
pub host: cef_string_t,
pub port: cef_string_t,
pub origin: cef_string_t,
pub path: cef_string_t,
pub query: cef_string_t,
pub fragment: cef_string_t,
}Expand description
URL component parts.
Fields§
§size: usizeSize of this structure.
spec: cef_string_tThe complete URL specification.
scheme: cef_string_tScheme component not including the colon (e.g., “http”).
username: cef_string_tUser name component.
password: cef_string_tPassword component.
host: cef_string_tHost component. This may be a hostname, an IPv4 address or an IPv6 literal surrounded by square brackets (e.g., “[2001:db8::1]”).
port: cef_string_tPort number component.
origin: cef_string_tOrigin contains just the scheme, host, and port from a URL. Equivalent to clearing any username and password, replacing the path with a slash, and clearing everything after that. This value will be empty for non-standard URLs.
path: cef_string_tPath component including the first slash following the host.
query: cef_string_tQuery string component (i.e., everything following the ‘?’).
fragment: cef_string_tFragment (hash) identifier component (i.e., the string following the ‘#’).
Trait Implementations§
Source§impl Clone for _cef_urlparts_t
impl Clone for _cef_urlparts_t
Source§fn clone(&self) -> _cef_urlparts_t
fn clone(&self) -> _cef_urlparts_t
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 _cef_urlparts_t
impl Debug for _cef_urlparts_t
impl Copy for _cef_urlparts_t
Auto Trait Implementations§
impl Freeze for _cef_urlparts_t
impl RefUnwindSafe for _cef_urlparts_t
impl !Send for _cef_urlparts_t
impl !Sync for _cef_urlparts_t
impl Unpin for _cef_urlparts_t
impl UnwindSafe for _cef_urlparts_t
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