Skip to main content

FromValue

Trait FromValue 

Source
pub trait FromValue: Sized {
    // Required method
    fn from_value(value: Result<ValueAccessor<'_>>) -> InputValueResult<Self>;
}

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 FromValue for ID

Source§

impl FromValue for String

Source§

impl FromValue for Upload

Source§

impl FromValue for bool

Source§

impl FromValue for f32

Source§

impl FromValue for f64

Source§

impl FromValue for i8

Source§

impl FromValue for i16

Source§

impl FromValue for i32

Source§

impl FromValue for i64

Source§

impl FromValue for isize

Source§

impl FromValue for u8

Source§

impl FromValue for u16

Source§

impl FromValue for u32

Source§

impl FromValue for u64

Source§

impl FromValue for usize

Source§

impl<T> FromValue for MaybeUndefined<T>

Source§

impl<T> FromValue for Option<T>

Source§

impl<T> FromValue for Result<T>

Source§

impl<T> FromValue for Vec<T>

Implementors§