Skip to main content

EventGroupRecord

Type Alias EventGroupRecord 

Source
pub type EventGroupRecord = ListRecord<EventGroupExtra>;
Expand description

ai.hyprstream.event.group — the list record, lives in the owner’s repo.

Aliased Type§

pub struct EventGroupRecord {
    pub name: String,
    pub owner_did: String,
    pub purpose: Option<String>,
    pub created_at: String,
    pub extra: EventGroupExtra,
}

Fields§

§name: String

Human-readable group name.

§owner_did: String

The DID that owns the group.

§purpose: Option<String>

Optional free-form description.

§created_at: String

ISO-8601 UTC datetime.

§extra: EventGroupExtra

Lexicon-specific extra fields.

Implementations§

Source§

impl EventGroupRecord

Source

pub fn new_event_group( name: impl Into<String>, owner_did: impl Into<String>, purpose: Option<String>, keyset_id: impl Into<String>, created_at: impl Into<String>, ) -> Result<Self>

Convenience constructor matching this lexicon’s field order (keyset_id as a plain argument rather than wrapping it in EventGroupExtra by hand).