Struct headless_lms_models::page_history::PageHistory
source · pub struct PageHistory {
pub id: Uuid,
pub created_at: DateTime<Utc>,
pub title: String,
pub content: Value,
pub history_change_reason: HistoryChangeReason,
pub restored_from_id: Option<Uuid>,
pub author_user_id: Uuid,
}
Fields§
§id: Uuid
§created_at: DateTime<Utc>
§title: String
§content: Value
§history_change_reason: HistoryChangeReason
§restored_from_id: Option<Uuid>
Trait Implementations§
source§impl Clone for PageHistory
impl Clone for PageHistory
source§fn clone(&self) -> PageHistory
fn clone(&self) -> PageHistory
Returns a copy 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 PageHistory
impl Debug for PageHistory
source§impl<'de> Deserialize<'de> for PageHistory
impl<'de> Deserialize<'de> for PageHistory
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
source§impl PartialEq for PageHistory
impl PartialEq for PageHistory
source§fn eq(&self, other: &PageHistory) -> bool
fn eq(&self, other: &PageHistory) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PageHistory
impl Serialize for PageHistory
impl StructuralPartialEq for PageHistory
Auto Trait Implementations§
impl RefUnwindSafe for PageHistory
impl Send for PageHistory
impl Sync for PageHistory
impl Unpin for PageHistory
impl UnwindSafe for PageHistory
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