nostr_types

Type Alias RelayRetention

source
pub type RelayRetention = RelayRetentionV1;
Expand description

Relay retention

Aliased Type§

struct RelayRetention {
    pub kinds: Vec<EventKindOrRange>,
    pub time: Option<usize>,
    pub count: Option<usize>,
}

Fields§

§kinds: Vec<EventKindOrRange>

kinds

§time: Option<usize>

time

§count: Option<usize>

count