pub struct CreateTokenBody {
pub url: String,
pub symbol: String,
pub precision: u64,
pub properties: Option<String>,
pub supply_limit: Option<String>,
pub authorities: Option<Vec<String>>,
}Fields§
§url: String§symbol: String§precision: u64§properties: Option<String>§supply_limit: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for CreateTokenBody
impl Clone for CreateTokenBody
Source§fn clone(&self) -> CreateTokenBody
fn clone(&self) -> CreateTokenBody
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 CreateTokenBody
impl Debug for CreateTokenBody
Source§impl<'de> Deserialize<'de> for CreateTokenBody
impl<'de> Deserialize<'de> for CreateTokenBody
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 CreateTokenBody
impl PartialEq for CreateTokenBody
Source§impl Serialize for CreateTokenBody
impl Serialize for CreateTokenBody
impl StructuralPartialEq for CreateTokenBody
Auto Trait Implementations§
impl Freeze for CreateTokenBody
impl RefUnwindSafe for CreateTokenBody
impl Send for CreateTokenBody
impl Sync for CreateTokenBody
impl Unpin for CreateTokenBody
impl UnsafeUnpin for CreateTokenBody
impl UnwindSafe for CreateTokenBody
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