Struct bee_api_types::responses::BaseTokenResponse
source · [−]pub struct BaseTokenResponse {
pub name: String,
pub ticker_symbol: String,
pub unit: String,
pub subunit: Option<String>,
pub decimals: u8,
pub use_metric_prefix: bool,
}Expand description
Returned in InfoResponse.
Information about the base token.
Fields
name: Stringticker_symbol: Stringunit: Stringsubunit: Option<String>decimals: u8use_metric_prefix: boolTrait Implementations
sourceimpl Clone for BaseTokenResponse
impl Clone for BaseTokenResponse
sourcefn clone(&self) -> BaseTokenResponse
fn clone(&self) -> BaseTokenResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for BaseTokenResponse
impl Debug for BaseTokenResponse
sourceimpl<'de> Deserialize<'de> for BaseTokenResponse
impl<'de> Deserialize<'de> for BaseTokenResponse
sourcefn 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
sourceimpl PartialEq<BaseTokenResponse> for BaseTokenResponse
impl PartialEq<BaseTokenResponse> for BaseTokenResponse
sourcefn eq(&self, other: &BaseTokenResponse) -> bool
fn eq(&self, other: &BaseTokenResponse) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourceimpl Serialize for BaseTokenResponse
impl Serialize for BaseTokenResponse
impl Eq for BaseTokenResponse
impl StructuralEq for BaseTokenResponse
impl StructuralPartialEq for BaseTokenResponse
Auto Trait Implementations
impl RefUnwindSafe for BaseTokenResponse
impl Send for BaseTokenResponse
impl Sync for BaseTokenResponse
impl Unpin for BaseTokenResponse
impl UnwindSafe for BaseTokenResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more