pub enum Field {
    String(SeString),
    Bool(bool),
    I8(i8),
    I16(i16),
    I32(i32),
    I64(i64),
    U8(u8),
    U16(u16),
    U32(u32),
    U64(u64),
    F32(f32),
}
Available on crate feature excel only.
Expand description

A single field from an Excel database.

Variants

String(SeString)

Bool(bool)

I8(i8)

I16(i16)

I32(i32)

I64(i64)

U8(u8)

U16(u16)

U32(u32)

U64(u64)

F32(f32)

Implementations

Optionally returns mutable references to the inner fields if this is a Field::String, otherwise None

Optionally returns references to the inner fields if this is a Field::String, otherwise None

Returns the inner fields if this is a Field::String, otherwise returns back the enum in the Err case of the result

Optionally returns mutable references to the inner fields if this is a Field::Bool, otherwise None

Optionally returns references to the inner fields if this is a Field::Bool, otherwise None

Returns the inner fields if this is a Field::Bool, otherwise returns back the enum in the Err case of the result

Optionally returns mutable references to the inner fields if this is a Field::I8, otherwise None

Optionally returns references to the inner fields if this is a Field::I8, otherwise None

Returns the inner fields if this is a Field::I8, otherwise returns back the enum in the Err case of the result

Optionally returns mutable references to the inner fields if this is a Field::I16, otherwise None

Optionally returns references to the inner fields if this is a Field::I16, otherwise None

Returns the inner fields if this is a Field::I16, otherwise returns back the enum in the Err case of the result

Optionally returns mutable references to the inner fields if this is a Field::I32, otherwise None

Optionally returns references to the inner fields if this is a Field::I32, otherwise None

Returns the inner fields if this is a Field::I32, otherwise returns back the enum in the Err case of the result

Optionally returns mutable references to the inner fields if this is a Field::I64, otherwise None

Optionally returns references to the inner fields if this is a Field::I64, otherwise None

Returns the inner fields if this is a Field::I64, otherwise returns back the enum in the Err case of the result

Optionally returns mutable references to the inner fields if this is a Field::U8, otherwise None

Optionally returns references to the inner fields if this is a Field::U8, otherwise None

Returns the inner fields if this is a Field::U8, otherwise returns back the enum in the Err case of the result

Optionally returns mutable references to the inner fields if this is a Field::U16, otherwise None

Optionally returns references to the inner fields if this is a Field::U16, otherwise None

Returns the inner fields if this is a Field::U16, otherwise returns back the enum in the Err case of the result

Optionally returns mutable references to the inner fields if this is a Field::U32, otherwise None

Optionally returns references to the inner fields if this is a Field::U32, otherwise None

Returns the inner fields if this is a Field::U32, otherwise returns back the enum in the Err case of the result

Optionally returns mutable references to the inner fields if this is a Field::U64, otherwise None

Optionally returns references to the inner fields if this is a Field::U64, otherwise None

Returns the inner fields if this is a Field::U64, otherwise returns back the enum in the Err case of the result

Optionally returns mutable references to the inner fields if this is a Field::F32, otherwise None

Optionally returns references to the inner fields if this is a Field::F32, otherwise None

Returns the inner fields if this is a Field::F32, otherwise returns back the enum in the Err case of the result

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.