Function serde_cbor::tags::current_cbor_tag
source ยท pub fn current_cbor_tag() -> Option<u64>
Expand description
function to get the current cbor tag
The only place where it makes sense to call this function is within visit_newtype_struct of a serde visitor. This is a low level API. In most cases it is preferable to use Tagged