#[non_exhaustive]pub struct DiagnosticLocation {
pub stage: DiffStage,
pub sheet_order: Option<usize>,
pub sheet_name: Option<String>,
pub address: Option<CellAddress>,
}Expand description
Location context attached to a diagnostic.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.stage: DiffStage§sheet_order: Option<usize>0-based sheet order (workbook index), if applicable.
sheet_name: Option<String>§address: Option<CellAddress>Trait Implementations§
Source§impl Clone for DiagnosticLocation
impl Clone for DiagnosticLocation
Source§fn clone(&self) -> DiagnosticLocation
fn clone(&self) -> DiagnosticLocation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DiagnosticLocation
impl Debug for DiagnosticLocation
Source§impl PartialEq for DiagnosticLocation
impl PartialEq for DiagnosticLocation
impl StructuralPartialEq for DiagnosticLocation
Auto Trait Implementations§
impl Freeze for DiagnosticLocation
impl RefUnwindSafe for DiagnosticLocation
impl Send for DiagnosticLocation
impl Sync for DiagnosticLocation
impl Unpin for DiagnosticLocation
impl UnsafeUnpin for DiagnosticLocation
impl UnwindSafe for DiagnosticLocation
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