pub struct ObjectJournalEvent {
pub id: String,
pub at: String,
pub action: JournalAction,
pub object_id: ObjectId,
pub path: String,
pub previous_path: Option<String>,
pub version_id: Option<VersionId>,
pub content: Option<ContentDigest>,
}Expand description
One append-only journal line.
Fields§
§id: String§at: String§action: JournalAction§object_id: ObjectId§path: String§previous_path: Option<String>§version_id: Option<VersionId>§content: Option<ContentDigest>Trait Implementations§
Source§impl Clone for ObjectJournalEvent
impl Clone for ObjectJournalEvent
Source§fn clone(&self) -> ObjectJournalEvent
fn clone(&self) -> ObjectJournalEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ObjectJournalEvent
impl Debug for ObjectJournalEvent
Source§impl<'de> Deserialize<'de> for ObjectJournalEvent
impl<'de> Deserialize<'de> for ObjectJournalEvent
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
impl Eq for ObjectJournalEvent
Source§impl PartialEq for ObjectJournalEvent
impl PartialEq for ObjectJournalEvent
Source§impl Serialize for ObjectJournalEvent
impl Serialize for ObjectJournalEvent
impl StructuralPartialEq for ObjectJournalEvent
Auto Trait Implementations§
impl Freeze for ObjectJournalEvent
impl RefUnwindSafe for ObjectJournalEvent
impl Send for ObjectJournalEvent
impl Sync for ObjectJournalEvent
impl Unpin for ObjectJournalEvent
impl UnsafeUnpin for ObjectJournalEvent
impl UnwindSafe for ObjectJournalEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.