Struct algonaut_transaction::builder::CreateAsset
source · [−]pub struct CreateAsset { /* private fields */ }
Expand description
A builder for AssetConfigurationTransaction.
Implementations
sourceimpl CreateAsset
impl CreateAsset
pub fn new(
sender: Address,
total: u64,
decimals: u32,
default_frozen: bool
) -> Self
pub fn unit_name(self, unit_name: String) -> Self
pub fn asset_name(self, asset_name: String) -> Self
pub fn url(self, url: String) -> Self
pub fn meta_data_hash(self, meta_data_hash: Vec<u8>) -> Self
pub fn manager(self, manager: Address) -> Self
pub fn reserve(self, reserve: Address) -> Self
pub fn freeze(self, freeze: Address) -> Self
pub fn clawback(self, clawback: Address) -> Self
pub fn build(self) -> TransactionType
Auto Trait Implementations
impl RefUnwindSafe for CreateAsset
impl Send for CreateAsset
impl Sync for CreateAsset
impl Unpin for CreateAsset
impl UnwindSafe for CreateAsset
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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