[][src]Struct grammarbot::types::Match

pub struct Match {
    pub message: String,
    pub short_message: String,
    pub replacements: Vec<Replacement>,
    pub offset: u32,
    pub length: u32,
    pub context: Context,
    pub sentence: String,
    pub type: Type,
    pub rule: Rule,
}

Fields

message: Stringshort_message: Stringreplacements: Vec<Replacement>offset: u32length: u32context: Contextsentence: Stringtype: Typerule: Rule

Trait Implementations

impl Debug for Match[src]

impl<'de> Deserialize<'de> for Match[src]

Auto Trait Implementations

impl Sync for Match

impl Send for Match

impl Unpin for Match

impl RefUnwindSafe for Match

impl UnwindSafe for Match

Blanket Implementations

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

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

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