pub struct HreflangLink {
pub lang: String,
pub url: Url,
}Expand description
Hreflang link for internationalization
Fields§
§lang: StringLanguage code (e.g., “en”, “fr-FR”)
url: UrlURL for this language version
Trait Implementations§
Source§impl Clone for HreflangLink
impl Clone for HreflangLink
Source§fn clone(&self) -> HreflangLink
fn clone(&self) -> HreflangLink
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 HreflangLink
impl RefUnwindSafe for HreflangLink
impl Send for HreflangLink
impl Sync for HreflangLink
impl Unpin for HreflangLink
impl UnwindSafe for HreflangLink
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