Trait nu_protocol::FromValue

source ·
pub trait FromValue: Sized {
    // Required method
    fn from_value(v: Value) -> Result<Self, ShellError>;
}

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl FromValue for bool

source§

impl FromValue for f64

source§

impl FromValue for i64

source§

impl FromValue for usize

source§

impl FromValue for String

source§

impl FromValue for Vec<Value>

source§

impl FromValue for Vec<bool>

source§

impl FromValue for Vec<u8>

source§

impl FromValue for Vec<String>

source§

impl FromValue for Vec<Spanned<String>>

source§

impl FromValue for DateTime<FixedOffset>

Implementors§