pub struct Account {
pub id: EntityId,
pub source: EntityId,
pub fidelity: Fidelity,
pub event_refs: Vec<EntityId>,
pub text: String,
}Expand description
A subjective narrative fragment attributed to a source actor.
Fields§
§id: EntityIdUnique identifier for this account.
source: EntityIdThe actor who authored or narrated this account.
fidelity: FidelityHow reliable this account is relative to the objective graph.
event_refs: Vec<EntityId>Events this account describes or references.
text: StringThe narrative text, potentially containing {entity_id} references.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Account
impl<'de> Deserialize<'de> for Account
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
Auto Trait Implementations§
impl Freeze for Account
impl RefUnwindSafe for Account
impl Send for Account
impl Sync for Account
impl Unpin for Account
impl UnsafeUnpin for Account
impl UnwindSafe for Account
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