Enum rincon_core::api::types::Value [] [src]

pub enum Value {
    String(String),
    Bool(bool),
    F64(f64),
    F32(f32),
    ISize(isize),
    I64(i64),
    I32(i32),
    I16(i16),
    I8(i8),
    USize(usize),
    U64(u64),
    U32(u32),
    U16(u16),
    U8(u8),
    VecString(Vec<String>),
    VecBool(Vec<bool>),
    VecF64(Vec<f64>),
    VecF32(Vec<f32>),
    VecISize(Vec<isize>),
    VecI64(Vec<i64>),
    VecI32(Vec<i32>),
    VecI16(Vec<i16>),
    VecI8(Vec<i8>),
    VecUSize(Vec<usize>),
    VecU64(Vec<u64>),
    VecU32(Vec<u32>),
    VecU16(Vec<u16>),
    VecU8(Vec<u8>),
}

Defines the type of the value of a parameter for methods and queries.

Variants

A string value

A bool value

A 64bit float value

A 32bit float value

A isize signed integer value

A 64bit signed integer value

A 32bit signed integer value

A 16bit signed integer value

A 8bit signed integer value

A usize unsigned integer value

A 64bit unsigned integer value

A 32bit unsigned integer value

A 16bit unsigned integer value

A 8bit unsigned integer value

A vec of string values

A vec of bool values

A vec of 64bit float values

A vec of 32bit float values

A vec of isize signed integer values

A vec of 64bit signed integer values

A vec of 32bit signed integer values

A vec of 16bit signed integer values

A vec of 8bit signed integer values

A vec of usize unsigned integer values

A vec of 64bit unsigned integer values

A vec of 32bit unsigned integer values

A vec of 16bit unsigned integer values

A vec of 8bit unsigned integer values

Methods

impl Value
[src]

[src]

Unwraps the value of the underlying type out of this Value.

Trait Implementations

impl Debug for Value
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Value
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Value
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl AsRef<str> for Value
[src]

[src]

Performs the conversion.

impl<'a> From<&'a str> for Value
[src]

[src]

Performs the conversion.

impl From<String> for Value
[src]

[src]

Performs the conversion.

impl From<bool> for Value
[src]

[src]

Performs the conversion.

impl From<f64> for Value
[src]

[src]

Performs the conversion.

impl From<f32> for Value
[src]

[src]

Performs the conversion.

impl From<isize> for Value
[src]

[src]

Performs the conversion.

impl From<i64> for Value
[src]

[src]

Performs the conversion.

impl From<i32> for Value
[src]

[src]

Performs the conversion.

impl From<i16> for Value
[src]

[src]

Performs the conversion.

impl From<i8> for Value
[src]

[src]

Performs the conversion.

impl From<usize> for Value
[src]

[src]

Performs the conversion.

impl From<u64> for Value
[src]

[src]

Performs the conversion.

impl From<u32> for Value
[src]

[src]

Performs the conversion.

impl From<u16> for Value
[src]

[src]

Performs the conversion.

impl From<u8> for Value
[src]

[src]

Performs the conversion.

impl<'a> From<Vec<&'a str>> for Value
[src]

[src]

Performs the conversion.

impl From<Vec<String>> for Value
[src]

[src]

Performs the conversion.

impl From<Vec<bool>> for Value
[src]

[src]

Performs the conversion.

impl From<Vec<f64>> for Value
[src]

[src]

Performs the conversion.

impl From<Vec<f32>> for Value
[src]

[src]

Performs the conversion.

impl From<Vec<isize>> for Value
[src]

[src]

Performs the conversion.

impl From<Vec<i64>> for Value
[src]

[src]

Performs the conversion.

impl From<Vec<i32>> for Value
[src]

[src]

Performs the conversion.

impl From<Vec<i16>> for Value
[src]

[src]

Performs the conversion.

impl From<Vec<i8>> for Value
[src]

[src]

Performs the conversion.

impl From<Vec<usize>> for Value
[src]

[src]

Performs the conversion.

impl From<Vec<u64>> for Value
[src]

[src]

Performs the conversion.

impl From<Vec<u32>> for Value
[src]

[src]

Performs the conversion.

impl From<Vec<u16>> for Value
[src]

[src]

Performs the conversion.

impl From<Vec<u8>> for Value
[src]

[src]

Performs the conversion.

impl Display for Value
[src]

[src]

Formats the value using the given formatter. Read more

impl Serialize for Value
[src]

[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

impl Send for Value

impl Sync for Value