pub struct TokenTranslations { /* private fields */ }Implementations§
Source§impl TokenTranslations
impl TokenTranslations
pub fn name_zhcn<T>(self, value: T) -> Self
pub fn symbol_zhcn<T>(self, value: T) -> Self
pub fn trans_name<T>(self, value: T) -> Self
pub fn trans_symbol<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for TokenTranslations
impl Clone for TokenTranslations
Source§fn clone(&self) -> TokenTranslations
fn clone(&self) -> TokenTranslations
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 TokenTranslations
impl Debug for TokenTranslations
Source§impl Default for TokenTranslations
impl Default for TokenTranslations
Source§impl From<TokenTranslations> for TokenTranslations
impl From<TokenTranslations> for TokenTranslations
Source§fn from(value: TokenTranslations) -> Self
fn from(value: TokenTranslations) -> Self
Converts to this type from the input type.
Source§impl TryFrom<TokenTranslations> for TokenTranslations
impl TryFrom<TokenTranslations> for TokenTranslations
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: TokenTranslations) -> Result<Self, ConversionError>
fn try_from(value: TokenTranslations) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for TokenTranslations
impl RefUnwindSafe for TokenTranslations
impl Send for TokenTranslations
impl Sync for TokenTranslations
impl Unpin for TokenTranslations
impl UnsafeUnpin for TokenTranslations
impl UnwindSafe for TokenTranslations
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