[][src]Struct slack_blocks::compose::opt::marker::FromText

pub struct FromText<T: Into<Text>>(_);

Marker struct used to restrict / indicate Opts created from Mrkdwn or Plain text.

Trait Implementations

impl<T: Clone + Into<Text>> Clone for FromText<T>[src]

impl<T: Debug + Into<Text>> Debug for FromText<T>[src]

impl<T: Hash + Into<Text>> Hash for FromText<T>[src]

impl<T: PartialEq + Into<Text>> PartialEq<FromText<T>> for FromText<T>[src]

impl<T: Into<Text>> StructuralPartialEq for FromText<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for FromText<T> where
    T: RefUnwindSafe

impl<T> Send for FromText<T> where
    T: Send

impl<T> Sync for FromText<T> where
    T: Sync

impl<T> Unpin for FromText<T> where
    T: Unpin

impl<T> UnwindSafe for FromText<T> where
    T: UnwindSafe

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.