Struct grammalecte_client::GrammarError
source · pub struct GrammarError {
pub offset_start: usize,
pub offset_end: usize,
pub rule_line_id: String,
pub rule_id: String,
pub rule_type: String,
pub rule_underline_color: Option<Vec<u8>>,
pub message: String,
pub suggestions: Vec<String>,
pub url: String,
}
Expand description
Single grammar error
Fields§
§offset_start: usize
§offset_end: usize
§rule_line_id: String
§rule_id: String
§rule_type: String
§rule_underline_color: Option<Vec<u8>>
§message: String
§suggestions: Vec<String>
§url: String
Trait Implementations§
source§impl Clone for GrammarError
impl Clone for GrammarError
source§fn clone(&self) -> GrammarError
fn clone(&self) -> GrammarError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GrammarError
impl Debug for GrammarError
source§impl<'de> Deserialize<'de> for GrammarError
impl<'de> Deserialize<'de> for GrammarError
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
Auto Trait Implementations§
impl RefUnwindSafe for GrammarError
impl Send for GrammarError
impl Sync for GrammarError
impl Unpin for GrammarError
impl UnwindSafe for GrammarError
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