Struct nostr_types::RelayList
source · 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§
source§impl PartialEq for RelayList
impl PartialEq for RelayList
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