pub struct Author {
pub user: Described,
pub person: Option<EntityId>,
pub replica: EntityId,
pub ai_agent: Option<String>,
}Expand description
Who made a change, as far as the space knows.
Fields§
§user: DescribedThe user, named as history names them: by the person linked to the user in the space, or else by the user’s own name.
person: Option<EntityId>The person linked to the user in the space, if any.
replica: EntityIdThe replica that signed the change.
ai_agent: Option<String>If the replica is an AI agent’s, the AI agent’s name, which is the replica’s: history names its changes by the user and the AI agent.
Trait Implementations§
impl Eq for Author
impl StructuralPartialEq for Author
Auto Trait Implementations§
impl Forget for Author
impl Freeze for Author
impl Move for Author
impl RefUnwindSafe for Author
impl Send for Author
impl Sync for Author
impl Unpin for Author
impl UnsafeUnpin for Author
impl UnwindSafe for Author
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.