pub struct NetworkListResponse {
pub network_identifiers: Vec<NetworkIdentifier>,
}
Expand description
NetworkListResponse : A NetworkListResponse contains all NetworkIdentifiers that the node can serve information for.
Fields§
§network_identifiers: Vec<NetworkIdentifier>
Implementations§
source§impl NetworkListResponse
impl NetworkListResponse
sourcepub fn new(network_identifiers: Vec<NetworkIdentifier>) -> NetworkListResponse
pub fn new(network_identifiers: Vec<NetworkIdentifier>) -> NetworkListResponse
A NetworkListResponse contains all NetworkIdentifiers that the node can serve information for.
Trait Implementations§
source§impl Clone for NetworkListResponse
impl Clone for NetworkListResponse
source§fn clone(&self) -> NetworkListResponse
fn clone(&self) -> NetworkListResponse
Returns a copy 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 NetworkListResponse
impl Debug for NetworkListResponse
source§impl Default for NetworkListResponse
impl Default for NetworkListResponse
source§fn default() -> NetworkListResponse
fn default() -> NetworkListResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NetworkListResponse
impl<'de> Deserialize<'de> for NetworkListResponse
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<NetworkListResponse> for NetworkListResponse
impl PartialEq<NetworkListResponse> for NetworkListResponse
source§fn eq(&self, other: &NetworkListResponse) -> bool
fn eq(&self, other: &NetworkListResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for NetworkListResponse
impl Serialize for NetworkListResponse
impl Eq for NetworkListResponse
impl StructuralEq for NetworkListResponse
impl StructuralPartialEq for NetworkListResponse
Auto Trait Implementations§
impl RefUnwindSafe for NetworkListResponse
impl Send for NetworkListResponse
impl Sync for NetworkListResponse
impl Unpin for NetworkListResponse
impl UnwindSafe for NetworkListResponse
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