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: StringHuman-readable group name.
owner_did: StringThe DID that owns the group.
purpose: Option<String>Optional free-form description.
created_at: StringISO-8601 UTC datetime.
extra: EventGroupExtraLexicon-specific extra fields.
Implementations§
Source§impl EventGroupRecord
impl EventGroupRecord
Sourcepub 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>
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).