Trait oasis_cbor::values::IntoCborValue
source · pub trait IntoCborValue {
fn into_cbor_value(self) -> Value;
}
Expand description
Trait that indicates that a type can be converted to a CBOR Value
.
Required Methods
sourcefn into_cbor_value(self) -> Value
fn into_cbor_value(self) -> Value
Convert self
into a CBOR Value
, consuming it along the way.