Skip to main content

Finding

Enum Finding 

Source
pub enum Finding<'r> {
    TypedOver {
        cell: &'r str,
        value: &'r str,
        expected: &'r str,
    },
    Inconsistent {
        cell: &'r str,
        formula: &'r str,
        expected: &'r str,
    },
    UnusedName {
        name: &'r str,
        refers_to: &'r str,
    },
    EmptyReference {
        cell: &'r str,
        target: &'r str,
    },
    HiddenSheet {
        name: &'r str,
        state: Visibility,
    },
    ExternalLink {
        cell: &'r str,
        target: &'r str,
    },
}
Expand description

One finding, borrowed from the walk that made it.

Variants§

§

TypedOver

(typed-over "Review!B3" 61 "=A3*2"): the cell, its value as a datum, and the neighbours’ formula rendered at the cell.

Fields

§cell: &'r str
§value: &'r str
§expected: &'r str
§

Inconsistent

(inconsistent "Review!C3" "=A3+2" "=A3+1"): the cell, its formula as written, and the neighbours’ rendered at the cell.

Fields

§cell: &'r str
§formula: &'r str
§expected: &'r str
§

UnusedName

(unused-name "Range1" "Data!$A$2:$B$4"): the name as its name row spells it, and what it refers to.

Fields

§name: &'r str
§refers_to: &'r str
§

EmptyReference

(empty-reference "Review!D1" "Review!Z9"): the formula’s cell and the target as its refers row spells it.

Fields

§cell: &'r str
§target: &'r str
§

HiddenSheet

(hidden-sheet "Scratch" hidden).

Fields

§name: &'r str

(external-link "Model!E2" "[Rates.xlsx]Sheet1!A1").

Fields

§cell: &'r str
§target: &'r str

Trait Implementations§

Source§

impl<'r> Clone for Finding<'r>

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'r> Copy for Finding<'r>

Source§

impl<'r> Debug for Finding<'r>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'r> Eq for Finding<'r>

Source§

impl<'r> PartialEq for Finding<'r>

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl<'r> StructuralPartialEq for Finding<'r>

Auto Trait Implementations§

§

impl<'r> Freeze for Finding<'r>

§

impl<'r> RefUnwindSafe for Finding<'r>

§

impl<'r> Send for Finding<'r>

§

impl<'r> Sync for Finding<'r>

§

impl<'r> Unpin for Finding<'r>

§

impl<'r> UnsafeUnpin for Finding<'r>

§

impl<'r> UnwindSafe for Finding<'r>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

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

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

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

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.