[][src]Struct safe_core::core_structs::MDataValue

pub struct MDataValue {
    pub content: Vec<u8>,
    pub entry_version: u64,
}

Redefine the Value from safe-nd so that we can impl ReprC.

Fields

content: Vec<u8>

Content of the entry.

entry_version: u64

Version of the entry.

Implementations

impl MDataValue[src]

pub fn from_routing(value: MDataSeqValue) -> Self[src]

Convert routing representation to MDataValue.

pub fn into_repr_c(self) -> MDataValue[src]

Returns FFI counterpart without consuming the object.

Trait Implementations

impl Clone for MDataValue[src]

impl Debug for MDataValue[src]

impl<'de> Deserialize<'de> for MDataValue[src]

impl Eq for MDataValue[src]

impl Hash for MDataValue[src]

impl Ord for MDataValue[src]

impl PartialEq<MDataValue> for MDataValue[src]

impl PartialOrd<MDataValue> for MDataValue[src]

impl ReprC for MDataValue[src]

type C = *const MDataValue

C representation of the type.

type Error = ()

Error type.

impl Serialize for MDataValue[src]

impl StructuralEq for MDataValue[src]

impl StructuralPartialEq for MDataValue[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> CloneAny for T where
    T: Clone + Any

impl<T> DebugAny for T where
    T: Any + Debug

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

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> UnsafeAny for T where
    T: Any

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