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;
}
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;
}