pub struct LinkLabel {
pub label: Label,
pub url: String,
pub url_expression: Option<String>,
}Expand description
A label that is also a link.
Fields§
§label: LabelWhat it shows.
url: StringThe address (https:, http: or mailto:).
url_expression: Option<String>An expression giving the address, such as 'mailto:' + [Email]; it wins over url.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LinkLabel
impl<'de> Deserialize<'de> for LinkLabel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for LinkLabel
Auto Trait Implementations§
impl Freeze for LinkLabel
impl RefUnwindSafe for LinkLabel
impl Send for LinkLabel
impl Sync for LinkLabel
impl Unpin for LinkLabel
impl UnsafeUnpin for LinkLabel
impl UnwindSafe for LinkLabel
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