Trait ObjectId

Source
pub trait ObjectId {
    // Required methods
    fn object_type(&self) -> String;
    fn as_bytes(&self) -> &[u8] ;
    fn to_bytes(&self) -> Vec<u8> ;
    fn hex(&self) -> String;
}

Required Methods§

Source

fn object_type(&self) -> String

Source

fn as_bytes(&self) -> &[u8]

Source

fn to_bytes(&self) -> Vec<u8>

Source

fn hex(&self) -> String

Implementors§