pub struct SymbolsResponse {
pub success: bool,
pub symbols: HashMap<String, String>,
}Expand description
A single currency entry returned by the /v1/symbols endpoint.
Fields§
§success: boolWhether the request was successful.
symbols: HashMap<String, String>Map of currency code to currency name.
Trait Implementations§
Source§impl Clone for SymbolsResponse
impl Clone for SymbolsResponse
Source§fn clone(&self) -> SymbolsResponse
fn clone(&self) -> SymbolsResponse
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 SymbolsResponse
impl Debug for SymbolsResponse
Source§impl<'de> Deserialize<'de> for SymbolsResponse
impl<'de> Deserialize<'de> for SymbolsResponse
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 SymbolsResponse
impl RefUnwindSafe for SymbolsResponse
impl Send for SymbolsResponse
impl Sync for SymbolsResponse
impl Unpin for SymbolsResponse
impl UnsafeUnpin for SymbolsResponse
impl UnwindSafe for SymbolsResponse
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