pub struct DocumentContentHistoryType {
pub id: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub content_data_snapshot_at: Option<DateTime<Utc>>,
pub content_data: Option<Value>,
pub actor_ids: Option<Vec<String>>,
pub metadata: Option<Value>,
}Fields§
§id: Option<String>The unique identifier of the document content history entry.
created_at: Option<DateTime<Utc>>The date when this document content history entry record was created.
content_data_snapshot_at: Option<DateTime<Utc>>The timestamp of the document content state when this snapshot was captured. This can differ from createdAt because the content is captured from its state at the previously known updatedAt timestamp in the case of an update. On document creation, these timestamps can be identical.
content_data: Option<Value>Internal The document content as a ProseMirror document at the time this history entry was captured.
actor_ids: Option<Vec<String>>IDs of users whose edits are included in this history entry.
metadata: Option<Value>Metadata associated with the history entry, including content diffs and AI-generated change summaries.
Trait Implementations§
Source§impl Clone for DocumentContentHistoryType
impl Clone for DocumentContentHistoryType
Source§fn clone(&self) -> DocumentContentHistoryType
fn clone(&self) -> DocumentContentHistoryType
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 DocumentContentHistoryType
impl Debug for DocumentContentHistoryType
Source§impl Default for DocumentContentHistoryType
impl Default for DocumentContentHistoryType
Source§fn default() -> DocumentContentHistoryType
fn default() -> DocumentContentHistoryType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DocumentContentHistoryTypewhere
DocumentContentHistoryType: Default,
impl<'de> Deserialize<'de> for DocumentContentHistoryTypewhere
DocumentContentHistoryType: Default,
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 DocumentContentHistoryType
impl RefUnwindSafe for DocumentContentHistoryType
impl Send for DocumentContentHistoryType
impl Sync for DocumentContentHistoryType
impl Unpin for DocumentContentHistoryType
impl UnsafeUnpin for DocumentContentHistoryType
impl UnwindSafe for DocumentContentHistoryType
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