[][src]Struct tp_note::config::Hyperlink

pub struct Hyperlink {
    pub name: String,
    pub url: String,
}

Represents a hyperlink.

Fields

name: Stringurl: String

Implementations

impl Hyperlink[src]

pub fn new(input: &str) -> Result<Hyperlink, Error>[src]

Parse a markdown formatted hyperlink and stores the result in Self.

Trait Implementations

impl Debug for Hyperlink[src]

impl PartialEq<Hyperlink> for Hyperlink[src]

impl StructuralPartialEq for Hyperlink[src]

Auto Trait Implementations

impl RefUnwindSafe for Hyperlink

impl Send for Hyperlink

impl Sync for Hyperlink

impl Unpin for Hyperlink

impl UnwindSafe for Hyperlink

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Sealed<T> for T where
    T: ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,