Trait cyfs_base::AuthorObjectDesc
source · pub trait AuthorObjectDesc {
// Required method
fn author(&self) -> &Option<ObjectId>;
}
Expand description
有作者对象
Required Methods§
Implementations on Foreign Types§
source§impl AuthorObjectDesc for Option<ObjectId>
impl AuthorObjectDesc for Option<ObjectId>
Implementors§
impl AuthorObjectDesc for SubDescNone
impl<T> AuthorObjectDesc for NamedObjectDesc<T>where T: DescContent, T::AuthorType: AuthorObjectDesc,
NamedObjectDesc 的 AuthorObjectDesc 自动实现
如果 T::AuthorType 实现了 AuthorObjectDesc
则自动为 NamedObjectDesc