pub struct ValidatedUrl {
pub url: Url,
pub host: String,
pub scheme: String,
}Expand description
Parsed and validated URL, safe for further processing.
Fields§
§url: Url§host: String§scheme: StringTrait Implementations§
Source§impl Clone for ValidatedUrl
impl Clone for ValidatedUrl
Source§fn clone(&self) -> ValidatedUrl
fn clone(&self) -> ValidatedUrl
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 moreAuto Trait Implementations§
impl Freeze for ValidatedUrl
impl RefUnwindSafe for ValidatedUrl
impl Send for ValidatedUrl
impl Sync for ValidatedUrl
impl Unpin for ValidatedUrl
impl UnwindSafe for ValidatedUrl
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