pub struct ActorProjection {
pub schema_version: u16,
pub actor_id: ActorId,
pub profile: ActorProfile,
pub user_binding: Option<UserBinding>,
pub cursor: Option<ProjectionCursor>,
}Expand description
Actor-facing read-model row — ActorProfile + optional UserBinding.
Fields§
§schema_version: u16Wire schema version.
actor_id: ActorIdActor identity.
profile: ActorProfileAuthoritative ActorProfile Component.
user_binding: Option<UserBinding>UserBinding is present iff the actor is Authenticated (E-actor-2).
cursor: Option<ProjectionCursor>Event cursor — dedup / gap anchor.
Trait Implementations§
Source§impl Clone for ActorProjection
impl Clone for ActorProjection
Source§fn clone(&self) -> ActorProjection
fn clone(&self) -> ActorProjection
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 ActorProjection
impl Debug for ActorProjection
Source§impl<'de> Deserialize<'de> for ActorProjection
impl<'de> Deserialize<'de> for ActorProjection
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 ActorProjection
impl PartialEq for ActorProjection
Source§fn eq(&self, other: &ActorProjection) -> bool
fn eq(&self, other: &ActorProjection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ActorProjection
impl Serialize for ActorProjection
impl Eq for ActorProjection
impl StructuralPartialEq for ActorProjection
Auto Trait Implementations§
impl Freeze for ActorProjection
impl RefUnwindSafe for ActorProjection
impl Send for ActorProjection
impl Sync for ActorProjection
impl Unpin for ActorProjection
impl UnsafeUnpin for ActorProjection
impl UnwindSafe for ActorProjection
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.