Skip to main content

RecordKind

Enum RecordKind 

Source
pub enum RecordKind {
Show 15 variants MemoryTier, Topic, Session, Checkpoint, Ticket, TicketEvent, GraphManifest, VectorManifest, Person, IdentityBinding, RoleGrant, ChannelConfig, LinkToken, AuditEntry, Tombstone,
}
Expand description

What a record represents. Drives the merge strategy.

Variants§

§

MemoryTier

§

Topic

§

Session

§

Checkpoint

§

Ticket

A tracked work item imported from an external ticket platform.

§

TicketEvent

An append-only comment/event on a ticket.

§

GraphManifest

A per-view code-graph manifest: (repo, view_id) -> { path -> content_hash }. Regenerable from source; reconciled last-writer-wins. See ADR 0012.

§

VectorManifest

The manifest of a durable vector index: which shards exist, which blob holds each, and the embedding space they are in. Unlike GraphManifest it is not regenerable — with caller-supplied embeddings gonzalo never sees the model — so it merges Opaque. See ADR 0027.

§

Person

A human with fleet roles. Not ADR 0015’s Principal, which is a gonzalo bearer token. See ADR 0022.

§

IdentityBinding

Binds one external account (chat user id, OIDC subject) to a Person. See ADR 0022.

§

RoleGrant

A person’s fleet role, fleet-wide or for one workspace. See ADR 0022, amended by ADR 0023.

§

ChannelConfig

A chat channel’s configuration: what it follows, a notify preset, and a role ceiling. See ADR 0022, amended by ADR 0023.

§

LinkToken

A one-time, expiring token that links an account to a person. Stores only the token’s hash, and is marked consumed rather than deleted. See ADR 0022.

§

AuditEntry

A write-once record of who did what, to what, and with what result. See ADR 0022.

§

Tombstone

A deletion marker. Hidden from consumer reads (get/list); replicated by sync and pull through raw reads; physically removed only by Store::purge. See ADR 0021.

Implementations§

Trait Implementations§

Source§

impl Clone for RecordKind

Source§

fn clone(&self) -> RecordKind

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for RecordKind

Source§

impl Debug for RecordKind

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for RecordKind

Source§

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 Eq for RecordKind

Source§

impl PartialEq for RecordKind

Source§

fn eq(&self, other: &RecordKind) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl Serialize for RecordKind

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for RecordKind

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.