pub struct ActivityProjection {
pub schema_version: u16,
pub activity_id: ActivityId,
pub record: ActivityRecord,
pub entity_shell_id: Option<EntityShellId>,
pub cursor: Option<ProjectionCursor>,
}Expand description
Activity read-model row — ActivityRecord + optional Extension-target
shell marker.
Fields§
§schema_version: u16Wire schema version.
activity_id: ActivityIdActivity identity.
record: ActivityRecordAuthoritative ActivityRecord Component.
entity_shell_id: Option<EntityShellId>Shell marker for Extension-target Activities (E-act-7).
cursor: Option<ProjectionCursor>Event cursor.
Trait Implementations§
Source§impl Clone for ActivityProjection
impl Clone for ActivityProjection
Source§fn clone(&self) -> ActivityProjection
fn clone(&self) -> ActivityProjection
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 ActivityProjection
impl Debug for ActivityProjection
Source§impl<'de> Deserialize<'de> for ActivityProjection
impl<'de> Deserialize<'de> for ActivityProjection
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 ActivityProjection
impl PartialEq for ActivityProjection
Source§fn eq(&self, other: &ActivityProjection) -> bool
fn eq(&self, other: &ActivityProjection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ActivityProjection
impl Serialize for ActivityProjection
impl Eq for ActivityProjection
impl StructuralPartialEq for ActivityProjection
Auto Trait Implementations§
impl !Freeze for ActivityProjection
impl RefUnwindSafe for ActivityProjection
impl Send for ActivityProjection
impl Sync for ActivityProjection
impl Unpin for ActivityProjection
impl UnsafeUnpin for ActivityProjection
impl UnwindSafe for ActivityProjection
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.