pub struct StableBalanceToken {
pub label: String,
pub token_identifier: String,
}Expand description
A stable token that can be used for automatic balance conversion.
Fields§
§label: StringIntegrator-defined display label for the token, e.g. “USD”.
This is a short, human-readable name set by the integrator for display purposes.
It is not a canonical Spark token ticker — it has no protocol-level meaning.
Labels must be unique within the StableBalanceConfig::tokens list.
token_identifier: StringThe full token identifier string used for conversions.
Trait Implementations§
Source§impl Clone for StableBalanceToken
impl Clone for StableBalanceToken
Source§fn clone(&self) -> StableBalanceToken
fn clone(&self) -> StableBalanceToken
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 moreAuto Trait Implementations§
impl Freeze for StableBalanceToken
impl RefUnwindSafe for StableBalanceToken
impl Send for StableBalanceToken
impl Sync for StableBalanceToken
impl Unpin for StableBalanceToken
impl UnwindSafe for StableBalanceToken
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request