pub struct SolanaSimpleCreateParams {
pub name: String,
pub symbol: String,
pub decimals: i32,
}Fields§
§name: StringThe name of the token or asset being created.
symbol: StringThe symbol for the token, typically an abbreviated representation.
decimals: i32The number of decimal places the token supports (e.g., 9 for typical Solana tokens).
Implementations§
Trait Implementations§
Source§impl Clone for SolanaSimpleCreateParams
impl Clone for SolanaSimpleCreateParams
Source§fn clone(&self) -> SolanaSimpleCreateParams
fn clone(&self) -> SolanaSimpleCreateParams
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 moreSource§impl Debug for SolanaSimpleCreateParams
impl Debug for SolanaSimpleCreateParams
Source§impl Default for SolanaSimpleCreateParams
impl Default for SolanaSimpleCreateParams
Source§fn default() -> SolanaSimpleCreateParams
fn default() -> SolanaSimpleCreateParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SolanaSimpleCreateParams
impl<'de> Deserialize<'de> for SolanaSimpleCreateParams
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
Source§impl PartialEq for SolanaSimpleCreateParams
impl PartialEq for SolanaSimpleCreateParams
Source§impl Serialize for SolanaSimpleCreateParams
impl Serialize for SolanaSimpleCreateParams
impl StructuralPartialEq for SolanaSimpleCreateParams
Auto Trait Implementations§
impl Freeze for SolanaSimpleCreateParams
impl RefUnwindSafe for SolanaSimpleCreateParams
impl Send for SolanaSimpleCreateParams
impl Sync for SolanaSimpleCreateParams
impl Unpin for SolanaSimpleCreateParams
impl UnwindSafe for SolanaSimpleCreateParams
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