pub struct RelayListResponse {
pub announcements: Vec<RelayAnnouncement>,
}Expand description
Relay-PEX: response with known relay announcements.
Each entry is a full signed RelayAnnouncement so recipients
can validate independently.
Fields§
§announcements: Vec<RelayAnnouncement>Trait Implementations§
Source§impl Clone for RelayListResponse
impl Clone for RelayListResponse
Source§fn clone(&self) -> RelayListResponse
fn clone(&self) -> RelayListResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 RelayListResponse
impl Debug for RelayListResponse
Source§impl<'de> Deserialize<'de> for RelayListResponse
impl<'de> Deserialize<'de> for RelayListResponse
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 RelayListResponse
impl PartialEq for RelayListResponse
Source§impl Serialize for RelayListResponse
impl Serialize for RelayListResponse
impl Eq for RelayListResponse
impl StructuralPartialEq for RelayListResponse
Auto Trait Implementations§
impl Freeze for RelayListResponse
impl RefUnwindSafe for RelayListResponse
impl Send for RelayListResponse
impl Sync for RelayListResponse
impl Unpin for RelayListResponse
impl UnsafeUnpin for RelayListResponse
impl UnwindSafe for RelayListResponse
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