Skip to main content

ClientInputValue

Trait ClientInputValue 

Source
pub trait ClientInputValue {
    const VALUE_TYPE: ClientValueType;

    // Required method
    fn into_sdk_value(self) -> Value;
}
Expand description

A Rust scalar that can be used as a typed client input.

Required Associated Constants§

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ClientInputValue for bool

Source§

const VALUE_TYPE: ClientValueType = ClientValueType::Boolean

Source§

fn into_sdk_value(self) -> Value

Source§

impl ClientInputValue for f32

Source§

const VALUE_TYPE: ClientValueType = ClientValueType::FixedPoint

Source§

fn into_sdk_value(self) -> Value

Source§

impl ClientInputValue for f64

Source§

const VALUE_TYPE: ClientValueType = ClientValueType::FixedPoint

Source§

fn into_sdk_value(self) -> Value

Source§

impl ClientInputValue for i8

Source§

const VALUE_TYPE: ClientValueType = ClientValueType::Integer

Source§

fn into_sdk_value(self) -> Value

Source§

impl ClientInputValue for i16

Source§

const VALUE_TYPE: ClientValueType = ClientValueType::Integer

Source§

fn into_sdk_value(self) -> Value

Source§

impl ClientInputValue for i32

Source§

const VALUE_TYPE: ClientValueType = ClientValueType::Integer

Source§

fn into_sdk_value(self) -> Value

Source§

impl ClientInputValue for i64

Source§

const VALUE_TYPE: ClientValueType = ClientValueType::Integer

Source§

fn into_sdk_value(self) -> Value

Source§

impl ClientInputValue for isize

Source§

const VALUE_TYPE: ClientValueType = ClientValueType::Integer

Source§

fn into_sdk_value(self) -> Value

Source§

impl ClientInputValue for u8

Source§

const VALUE_TYPE: ClientValueType = ClientValueType::Integer

Source§

fn into_sdk_value(self) -> Value

Source§

impl ClientInputValue for u16

Source§

const VALUE_TYPE: ClientValueType = ClientValueType::Integer

Source§

fn into_sdk_value(self) -> Value

Source§

impl ClientInputValue for u32

Source§

const VALUE_TYPE: ClientValueType = ClientValueType::Integer

Source§

fn into_sdk_value(self) -> Value

Source§

impl ClientInputValue for u64

Source§

const VALUE_TYPE: ClientValueType = ClientValueType::Integer

Source§

fn into_sdk_value(self) -> Value

Source§

impl ClientInputValue for usize

Source§

const VALUE_TYPE: ClientValueType = ClientValueType::Integer

Source§

fn into_sdk_value(self) -> Value

Implementors§