pub struct RevisionCommon {
pub id: u32,
pub type: u32,
pub creator: Option<Creator>,
pub summary: String,
pub created_at: String,
}Expand description
所有修订记录的通用基础结构
包含各类修订记录共有的核心字段,用于描述一次修订的基本信息
Fields§
§id: u32修订记录的唯一标识符
type: u32修订类型标识(用于区分不同实体的修订,如人物、角色、条目等)
creator: Option<Creator>修订创建者信息(可选,可能为None表示匿名或信息未记录)
summary: String修订摘要(简要描述本次修订的内容或目的)
created_at: String修订创建时间(格式通常为ISO 8601时间字符串)
Trait Implementations§
Source§impl Clone for RevisionCommon
impl Clone for RevisionCommon
Source§fn clone(&self) -> RevisionCommon
fn clone(&self) -> RevisionCommon
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RevisionCommon
impl Debug for RevisionCommon
Source§impl<'de> Deserialize<'de> for RevisionCommon
impl<'de> Deserialize<'de> for RevisionCommon
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RevisionCommon
impl RefUnwindSafe for RevisionCommon
impl Send for RevisionCommon
impl Sync for RevisionCommon
impl Unpin for RevisionCommon
impl UnwindSafe for RevisionCommon
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more