pub struct EntryProjection {
pub schema_version: u16,
pub entry_id: EntryId,
pub core: EntryCore,
pub body: Option<EntryBody>,
pub parent_depth: Option<EntryParentDepth>,
pub cursor: Option<ProjectionCursor>,
}Expand description
Entry read-model row — EntryCore + body metadata + depth cache.
Fields§
§schema_version: u16Wire schema version.
entry_id: EntryIdEntry identity.
core: EntryCoreAuthoritative EntryCore Component.
body: Option<EntryBody>EntryBody — absent when soft-deleted (E-entry-5).
parent_depth: Option<EntryParentDepth>Cached parent-chain depth (E-entry-3).
cursor: Option<ProjectionCursor>Event cursor.
Trait Implementations§
Source§impl Clone for EntryProjection
impl Clone for EntryProjection
Source§fn clone(&self) -> EntryProjection
fn clone(&self) -> EntryProjection
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 EntryProjection
impl Debug for EntryProjection
Source§impl<'de> Deserialize<'de> for EntryProjection
impl<'de> Deserialize<'de> for EntryProjection
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 EntryProjection
impl PartialEq for EntryProjection
Source§fn eq(&self, other: &EntryProjection) -> bool
fn eq(&self, other: &EntryProjection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EntryProjection
impl Serialize for EntryProjection
impl Eq for EntryProjection
impl StructuralPartialEq for EntryProjection
Auto Trait Implementations§
impl Freeze for EntryProjection
impl RefUnwindSafe for EntryProjection
impl Send for EntryProjection
impl Sync for EntryProjection
impl Unpin for EntryProjection
impl UnsafeUnpin for EntryProjection
impl UnwindSafe for EntryProjection
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,
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.