Skip to main content

EventGroupItemRecord

Type Alias EventGroupItemRecord 

Source
pub type EventGroupItemRecord = ListItemRecord;
Expand description

ai.hyprstream.event.groupItem — the owner-side membership claim (listitem), lives in the owner’s repo. Identical shape to every other listitem lexicon in this crate — see ListItemRecord.

Aliased Type§

pub struct EventGroupItemRecord {
    pub group: String,
    pub subject: String,
    pub created_at: String,
}

Fields§

§group: String

at-uri of the owning list (group) record.

§subject: String

The DID of the member being claimed.

§created_at: String

ISO-8601 UTC datetime.

Implementations§

Source§

impl EventGroupItemRecord

Source

pub fn from_event_dag_cbor(bytes: &[u8]) -> Result<Self>

Decode using this lexicon’s NSID for error attribution.