Skip to main content

DiagnosticFunctionKind

Enum DiagnosticFunctionKind 

Source
pub enum DiagnosticFunctionKind {
Show 39 variants Abs, Cbrt, Ceiling, Coalesce, CollectionContains, Contains, EndsWith, Exp, Floor, IsEmpty, IsMissing, IsNotEmpty, IsNotNull, IsNull, Left, Length, Ln, Log, Log2, Log10, Lower, Ltrim, Mod, NullIf, OctetLength, Position, Power, Replace, Right, Round, Rtrim, Sign, Sqrt, StartsWith, Substring, Trim, Trunc, Upper, InList,
}
Expand description

Compact function identity carried by DiagnosticFactTag::FunctionKind.

Variants§

§

Abs

Compact diagnostic value 1.

§

Cbrt

Compact diagnostic value 2.

§

Ceiling

Compact diagnostic value 3.

§

Coalesce

Compact diagnostic value 4.

§

CollectionContains

Compact diagnostic value 5.

§

Contains

Compact diagnostic value 6.

§

EndsWith

Compact diagnostic value 7.

§

Exp

Compact diagnostic value 8.

§

Floor

Compact diagnostic value 9.

§

IsEmpty

Compact diagnostic value 10.

§

IsMissing

Compact diagnostic value 11.

§

IsNotEmpty

Compact diagnostic value 12.

§

IsNotNull

Compact diagnostic value 13.

§

IsNull

Compact diagnostic value 14.

§

Left

Compact diagnostic value 15.

§

Length

Compact diagnostic value 16.

§

Ln

Compact diagnostic value 17.

§

Log

Compact diagnostic value 18.

§

Log2

Compact diagnostic value 19.

§

Log10

Compact diagnostic value 20.

§

Lower

Compact diagnostic value 21.

§

Ltrim

Compact diagnostic value 22.

§

Mod

Compact diagnostic value 23.

§

NullIf

Compact diagnostic value 24.

§

OctetLength

Compact diagnostic value 25.

§

Position

Compact diagnostic value 26.

§

Power

Compact diagnostic value 27.

§

Replace

Compact diagnostic value 28.

§

Right

Compact diagnostic value 29.

§

Round

Compact diagnostic value 30.

§

Rtrim

Compact diagnostic value 31.

§

Sign

Compact diagnostic value 32.

§

Sqrt

Compact diagnostic value 33.

§

StartsWith

Compact diagnostic value 34.

§

Substring

Compact diagnostic value 35.

§

Trim

Compact diagnostic value 36.

§

Trunc

Compact diagnostic value 37.

§

Upper

Compact diagnostic value 38.

§

InList

Compact diagnostic value 39.

Implementations§

Source§

impl DiagnosticFunctionKind

Source

pub const fn raw(self) -> u64

Return the fixed numeric fact value.

Source

pub const fn known(raw: u64) -> Option<Self>

Recover a known compact value from its public numeric identity.

Trait Implementations§

Source§

impl Clone for DiagnosticFunctionKind

Source§

fn clone(&self) -> DiagnosticFunctionKind

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 Copy for DiagnosticFunctionKind

Source§

impl Debug for DiagnosticFunctionKind

Source§

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

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

impl Eq for DiagnosticFunctionKind

Source§

impl Hash for DiagnosticFunctionKind

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for DiagnosticFunctionKind

Source§

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

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

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

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for DiagnosticFunctionKind

Auto Trait Implementations§

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 = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.