pub struct NostrMirrorConfig {Show 20 fields
pub relays: Vec<String>,
pub publish_relays: Vec<String>,
pub blossom_write_servers: Vec<String>,
pub max_follow_distance: u32,
pub overmute_threshold: f64,
pub author_batch_size: usize,
pub history_sync_author_chunk_size: usize,
pub history_sync_per_author_event_limit: usize,
pub missing_profile_backfill_batch_size: usize,
pub fetch_timeout: Duration,
pub relay_event_max_size: Option<u32>,
pub require_negentropy: bool,
pub kinds: Vec<u16>,
pub history_sync_on_start: bool,
pub history_sync_on_reconnect: bool,
pub full_text_note_history_follow_distance: Option<u32>,
pub full_text_note_history_max_relay_pages: usize,
pub published_event_tree_name: Option<String>,
pub published_profile_search_tree_name: Option<String>,
pub published_profiles_by_pubkey_tree_name: Option<String>,
}Fields§
§relays: Vec<String>§publish_relays: Vec<String>§blossom_write_servers: Vec<String>§max_follow_distance: u32§overmute_threshold: f64§missing_profile_backfill_batch_size: usize§fetch_timeout: Duration§relay_event_max_size: Option<u32>§require_negentropy: bool§kinds: Vec<u16>§history_sync_on_start: bool§history_sync_on_reconnect: bool§full_text_note_history_follow_distance: Option<u32>§full_text_note_history_max_relay_pages: usize§published_event_tree_name: Option<String>§published_profile_search_tree_name: Option<String>§published_profiles_by_pubkey_tree_name: Option<String>Trait Implementations§
Source§impl Clone for NostrMirrorConfig
impl Clone for NostrMirrorConfig
Source§fn clone(&self) -> NostrMirrorConfig
fn clone(&self) -> NostrMirrorConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NostrMirrorConfig
impl Debug for NostrMirrorConfig
Auto Trait Implementations§
impl Freeze for NostrMirrorConfig
impl RefUnwindSafe for NostrMirrorConfig
impl Send for NostrMirrorConfig
impl Sync for NostrMirrorConfig
impl Unpin for NostrMirrorConfig
impl UnsafeUnpin for NostrMirrorConfig
impl UnwindSafe for NostrMirrorConfig
Blanket Implementations§
Source§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more