pub struct Url {
pub name: Option<String>,
pub url: String,
}
Expand description
An URL bookmark.
Fields§
§name: Option<String>
A user-defined name for this URL.
url: String
The URL of this bookmark.
Trait Implementations§
Source§impl TryFrom<Element> for Url
impl TryFrom<Element> for Url
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl StructuralPartialEq for Url
Auto Trait Implementations§
impl Freeze for Url
impl RefUnwindSafe for Url
impl Send for Url
impl Sync for Url
impl Unpin for Url
impl UnwindSafe for Url
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