pub struct ListChainsResponse {
pub data: Vec<Chain>,
pub error: Option<String>,
}Expand description
Response from list_chains.
Fields§
§data: Vec<Chain>Supported chains and their networks.
error: Option<String>Error message when the request did not succeed.
Trait Implementations§
Source§impl Clone for ListChainsResponse
impl Clone for ListChainsResponse
Source§fn clone(&self) -> ListChainsResponse
fn clone(&self) -> ListChainsResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ListChainsResponse
impl Debug for ListChainsResponse
Source§impl<'de> Deserialize<'de> for ListChainsResponse
impl<'de> Deserialize<'de> for ListChainsResponse
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
Auto Trait Implementations§
impl Freeze for ListChainsResponse
impl RefUnwindSafe for ListChainsResponse
impl Send for ListChainsResponse
impl Sync for ListChainsResponse
impl Unpin for ListChainsResponse
impl UnsafeUnpin for ListChainsResponse
impl UnwindSafe for ListChainsResponse
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