pub trait ObjectShapeWithId: ObjectShape {
    // Required methods
    fn get_object_id(&self) -> Option<i64>;
    fn set_object_id(&mut self, object_id: i64);
}
Expand description

A type that can be converted to and from an object, with its object_id.

Required Methods§

source

fn get_object_id(&self) -> Option<i64>

Get the object’s ID.

source

fn set_object_id(&mut self, object_id: i64)

Set the object’s ID.

Implementors§