Type Alias nostr_types::RelayLimitation

source ·
pub type RelayLimitation = RelayLimitationV2;
Expand description

Relay limitations

Aliased Type§

struct RelayLimitation {
Show 13 fields pub max_message_length: Option<usize>, pub max_subscriptions: Option<usize>, pub max_filters: Option<usize>, pub max_limit: Option<usize>, pub max_subid_length: Option<usize>, pub max_event_tags: Option<usize>, pub max_content_length: Option<usize>, pub min_pow_difficulty: Option<usize>, pub auth_required: Option<bool>, pub payment_required: Option<bool>, pub restricted_writes: Option<bool>, pub created_at_lower_limit: Option<u64>, pub created_at_upper_limit: Option<u64>,
}

Fields§

§max_message_length: Option<usize>

max message length

§max_subscriptions: Option<usize>

max subscriptions

§max_filters: Option<usize>

max filters

§max_limit: Option<usize>

max limit

§max_subid_length: Option<usize>

max subid length

§max_event_tags: Option<usize>

max event tags

§max_content_length: Option<usize>

max content length

§min_pow_difficulty: Option<usize>

min pow difficulty

§auth_required: Option<bool>

auth required

§payment_required: Option<bool>

payment required

§restricted_writes: Option<bool>

restricted writes

§created_at_lower_limit: Option<u64>

created at lower limit

§created_at_upper_limit: Option<u64>

created at upper limit