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

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

Represents a hyperlink.


name: Stringurl: String


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

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

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

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

impl<T, U> Into<U> for T where
    U: From<T>, 

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

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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>,