ObjectDesc

Trait ObjectDesc 

Source
pub trait ObjectDesc {
Show 14 methods // Required methods fn obj_type(&self) -> u16; fn calculate_id(&self) -> ObjectId; fn dec_id(&self) -> &Option<ObjectId>; fn ref_objs(&self) -> &Option<Vec<ObjectLink>>; fn prev(&self) -> &Option<ObjectId>; fn create_timestamp(&self) -> &Option<HashValue>; fn create_time(&self) -> u64; fn option_create_time(&self) -> Option<u64>; fn expired_time(&self) -> Option<u64>; // Provided methods fn obj_type_code(&self) -> ObjectTypeCode { ... } fn is_standard_object(&self) -> bool { ... } fn is_core_object(&self) -> bool { ... } fn is_dec_app_object(&self) -> bool { ... } fn object_id(&self) -> ObjectId { ... }
}

Required Methods§

Provided Methods§

Implementors§

Source§

impl ObjectDesc for TypelessObjectDesc

Source§

impl<T> ObjectDesc for NamedObjectDesc<T>

§NamedObjectDesc 的 ObjectDesc 自动实现

对任意 T: DescContent 为 NamedObjectDesc 实现 ObjectDesc