[]Struct hdk::api::PROPERTIES

pub struct PROPERTIES { /* fields omitted */ }

The json string from the DNA top level properties field. Deserialize this into a serde_json::Value or a zome specific struct to access the fields

Methods from Deref<Target = &'static JsonString>

pub fn is_null(&self) -> bool[src]

pub fn to_bytes(&self) -> Vec<u8>[src]

achieves the same outcome as serde_json::to_vec()

Trait Implementations

impl Deref for PROPERTIES

type Target = &'static JsonString

The resulting type after dereferencing.

impl LazyStatic for PROPERTIES

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,