Trait oasis_cbor::encode::Encode [−][src]
pub trait Encode { fn into_cbor_value(self) -> Value; }
Expand description
Trait for types that can be encoded into CBOR.
Required methods
fn into_cbor_value(self) -> Value
fn into_cbor_value(self) -> Value
Encode the type into a CBOR Value.
Implementations on Foreign Types
impl<TupleElement0: Encode, TupleElement1: Encode, TupleElement2: Encode, TupleElement3: Encode, TupleElement4: Encode, TupleElement5: Encode, TupleElement6: Encode, TupleElement7: Encode> Encode for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7)
impl<TupleElement0: Encode, TupleElement1: Encode, TupleElement2: Encode, TupleElement3: Encode, TupleElement4: Encode, TupleElement5: Encode, TupleElement6: Encode, TupleElement7: Encode> Encode for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7)
impl<TupleElement0: Encode, TupleElement1: Encode, TupleElement2: Encode, TupleElement3: Encode, TupleElement4: Encode, TupleElement5: Encode, TupleElement6: Encode, TupleElement7: Encode, TupleElement8: Encode> Encode for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8)
impl<TupleElement0: Encode, TupleElement1: Encode, TupleElement2: Encode, TupleElement3: Encode, TupleElement4: Encode, TupleElement5: Encode, TupleElement6: Encode, TupleElement7: Encode, TupleElement8: Encode> Encode for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8)
impl<TupleElement0: Encode, TupleElement1: Encode, TupleElement2: Encode, TupleElement3: Encode, TupleElement4: Encode, TupleElement5: Encode, TupleElement6: Encode, TupleElement7: Encode, TupleElement8: Encode, TupleElement9: Encode> Encode for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9)
impl<TupleElement0: Encode, TupleElement1: Encode, TupleElement2: Encode, TupleElement3: Encode, TupleElement4: Encode, TupleElement5: Encode, TupleElement6: Encode, TupleElement7: Encode, TupleElement8: Encode, TupleElement9: Encode> Encode for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9)