pub struct YamlDiagnostic {
pub code: &'static str,
pub message: &'static str,
pub byte_start: usize,
pub byte_end: usize,
}Fields§
§code: &'static str§message: &'static str§byte_start: usize§byte_end: usizeTrait Implementations§
Source§impl Clone for YamlDiagnostic
impl Clone for YamlDiagnostic
Source§fn clone(&self) -> YamlDiagnostic
fn clone(&self) -> YamlDiagnostic
Returns a duplicate 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 YamlDiagnostic
impl Debug for YamlDiagnostic
Source§impl PartialEq for YamlDiagnostic
impl PartialEq for YamlDiagnostic
impl Eq for YamlDiagnostic
impl StructuralPartialEq for YamlDiagnostic
Auto Trait Implementations§
impl Freeze for YamlDiagnostic
impl RefUnwindSafe for YamlDiagnostic
impl Send for YamlDiagnostic
impl Sync for YamlDiagnostic
impl Unpin for YamlDiagnostic
impl UnsafeUnpin for YamlDiagnostic
impl UnwindSafe for YamlDiagnostic
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