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 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 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 for NetworkListResponse
impl PartialEq for NetworkListResponse
Source§impl Serialize for NetworkListResponse
impl Serialize for NetworkListResponse
impl StructuralPartialEq for NetworkListResponse
Auto Trait Implementations§
impl Freeze for NetworkListResponse
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