pub struct RelayList(pub HashMap<RelayUrl, RelayListUsage>);
Expand description
A relay list, indicating usage for each relay, which can be used to represent the data found in a kind 10002 RelayListMetadata event.
Tuple Fields§
§0: HashMap<RelayUrl, RelayListUsage>
Implementations§
Trait Implementations§
impl Eq for RelayList
impl StructuralPartialEq for RelayList
Auto Trait Implementations§
impl Freeze for RelayList
impl RefUnwindSafe for RelayList
impl Send for RelayList
impl Sync for RelayList
impl Unpin for RelayList
impl UnwindSafe for RelayList
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)