pub struct ListingRelayQueryOptions {
pub limit: usize,
pub timeout_ms: u64,
}Expand description
Query options for listing relay discovery.
Fields§
§limit: usizeMaximum number of events requested from each relay.
timeout_ms: u64Per-relay timeout in milliseconds.
Trait Implementations§
Source§impl Clone for ListingRelayQueryOptions
impl Clone for ListingRelayQueryOptions
Source§fn clone(&self) -> ListingRelayQueryOptions
fn clone(&self) -> ListingRelayQueryOptions
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 ListingRelayQueryOptions
impl Debug for ListingRelayQueryOptions
Source§impl Default for ListingRelayQueryOptions
impl Default for ListingRelayQueryOptions
Source§impl<'de> Deserialize<'de> for ListingRelayQueryOptions
impl<'de> Deserialize<'de> for ListingRelayQueryOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ListingRelayQueryOptions
impl PartialEq for ListingRelayQueryOptions
Source§fn eq(&self, other: &ListingRelayQueryOptions) -> bool
fn eq(&self, other: &ListingRelayQueryOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ListingRelayQueryOptions
impl Serialize for ListingRelayQueryOptions
impl Eq for ListingRelayQueryOptions
impl StructuralPartialEq for ListingRelayQueryOptions
Auto Trait Implementations§
impl Freeze for ListingRelayQueryOptions
impl RefUnwindSafe for ListingRelayQueryOptions
impl Send for ListingRelayQueryOptions
impl Sync for ListingRelayQueryOptions
impl Unpin for ListingRelayQueryOptions
impl UnsafeUnpin for ListingRelayQueryOptions
impl UnwindSafe for ListingRelayQueryOptions
Blanket Implementations§
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