pub struct EntityTouch {Show 14 fields
pub reference: String,
pub timestamp: i64,
pub id_at_touch: String,
pub verb: Option<String>,
pub subject: Option<String>,
pub note: Option<String>,
pub actor: Option<String>,
pub client: Option<String>,
pub tool: Option<String>,
pub renamed_from: Option<String>,
pub renamed_to: Option<String>,
pub batch_entity_ids: Vec<String>,
pub logical_op: Option<String>,
pub role: Option<String>,
}Expand description
One recorded touch of an entity, newest-first in the report.
Fields§
§reference: StringBackend-native reference for this touch: the commit SHA on git-branch mems, the changelog RFC-3339 timestamp on folder / in-memory mems. Also the basis of the page cursor.
timestamp: i64Touch time, seconds since unix epoch.
id_at_touch: StringThe entity’s id when this touch happened — pre-rename touches carry their then-current id (criterion: the story starts at the first appearance under any prior id).
verb: Option<String>Mutation verb (create / update / delete / relate /
rename / batch_update…). None when the record predates
the subject convention or the commit is external.
subject: Option<String>Commit subject line (git-branch only).
note: Option<String>The agent’s stated intent, where one was written.
actor: Option<String>§client: Option<String>§tool: Option<String>Tool: trailer (git-branch only).
renamed_from: Option<String>On a rename touch: the id before the rename. None on
non-rename touches — and on folder-backend rename records,
which don’t carry the pre-rename id (a stated limitation).
renamed_to: Option<String>On a rename touch: the id after the rename.
batch_entity_ids: Vec<String>Every id a multi-entity commit touched (batch context — names the commit’s scope without those entities’ own stories appearing here). Empty for single-entity touches.
logical_op: Option<String>Correlation id linking commits of one logical operation.
role: Option<String>Caller-declared role this touch was performed in (agent-trust plan 13). Absent = unspecified — recorded as absence, never defaulted to a real role.
Trait Implementations§
Source§impl Clone for EntityTouch
impl Clone for EntityTouch
Source§fn clone(&self) -> EntityTouch
fn clone(&self) -> EntityTouch
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for EntityTouch
impl Debug for EntityTouch
impl Eq for EntityTouch
Source§impl PartialEq for EntityTouch
impl PartialEq for EntityTouch
Source§impl Serialize for EntityTouch
impl Serialize for EntityTouch
impl StructuralPartialEq for EntityTouch
Auto Trait Implementations§
impl Freeze for EntityTouch
impl RefUnwindSafe for EntityTouch
impl Send for EntityTouch
impl Sync for EntityTouch
impl Unpin for EntityTouch
impl UnsafeUnpin for EntityTouch
impl UnwindSafe for EntityTouch
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
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
key and return true if they are equal.impl<T> Fruit for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more