pub trait MaybeHasId {
    // Required method
    fn try_raw_id(&self) -> Option<RawObjectId>;
}

Required Methods§

source

fn try_raw_id(&self) -> Option<RawObjectId>

Object ID of the object, which can be used to efficiently fetch a fresh reference to the object on subsequent ticks, or None if the object doesn’t currently have an id.

Implementors§