[][src]Trait packs::ExtractRef

pub trait ExtractRef<T>: Sized {
    pub fn extract_ref(from: &Value<T>) -> Option<&Self>;

    pub fn extract_opt_ref(from: &Value<T>) -> Option<Option<&Self>> { ... }
}

An Extract variant for borrowed values.

Required methods

pub fn extract_ref(from: &Value<T>) -> Option<&Self>[src]

Loading content...

Provided methods

pub fn extract_opt_ref(from: &Value<T>) -> Option<Option<&Self>>[src]

Loading content...

Implementations on Foreign Types

impl<T> ExtractRef<T> for i64[src]

impl<T> ExtractRef<T> for f64[src]

impl<T> ExtractRef<T> for bool[src]

impl<T> ExtractRef<T> for String[src]

impl<T> ExtractRef<T> for Vec<Value<T>>[src]

Loading content...

Implementors

impl<T> ExtractRef<T> for Bytes[src]

impl<T> ExtractRef<T> for Dictionary<T>[src]

Loading content...