pub struct DocumentContentHistory {
pub id: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub archived_at: Option<DateTime<Utc>>,
pub document_content: Option<Box<DocumentContent>>,
pub content_data: Option<Value>,
pub actor_ids: Option<Vec<String>>,
pub content_data_snapshot_at: Option<DateTime<Utc>>,
}Expand description
A document content history for a document.
Fields§
§id: Option<String>The unique identifier of the entity.
created_at: Option<DateTime<Utc>>The time at which the entity was created.
updated_at: Option<DateTime<Utc>>The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn’t been updated after creation.
archived_at: Option<DateTime<Utc>>The time at which the entity was archived. Null if the entity has not been archived.
document_content: Option<Box<DocumentContent>>The document content that this history item is associated with.
content_data: Option<Value>Internal The document content as a Prosemirror document.
actor_ids: Option<Vec<String>>IDs of actors whose edits went into this history item.
content_data_snapshot_at: Option<DateTime<Utc>>The timestamp associated with the DocumentContent when it was originally saved.
Trait Implementations§
Source§impl Clone for DocumentContentHistory
impl Clone for DocumentContentHistory
Source§fn clone(&self) -> DocumentContentHistory
fn clone(&self) -> DocumentContentHistory
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 DocumentContentHistory
impl Debug for DocumentContentHistory
Source§impl Default for DocumentContentHistory
impl Default for DocumentContentHistory
Source§fn default() -> DocumentContentHistory
fn default() -> DocumentContentHistory
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DocumentContentHistorywhere
DocumentContentHistory: Default,
impl<'de> Deserialize<'de> for DocumentContentHistorywhere
DocumentContentHistory: 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 DocumentContentHistory
impl RefUnwindSafe for DocumentContentHistory
impl Send for DocumentContentHistory
impl Sync for DocumentContentHistory
impl Unpin for DocumentContentHistory
impl UnsafeUnpin for DocumentContentHistory
impl UnwindSafe for DocumentContentHistory
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