AssetCreate#

pub struct AssetCreate#

Parameters for creating a new asset.

Implementations#

impl AssetCreate
pub fn new(name: impl Into<String>) -> Self#
pub fn description(self, value: impl Into<String>) -> Self#
pub fn properties<I, K, V>(self, value: I) -> Self where I: IntoIterator<Item = (K, V)>, K: Into<String>, V: Into<String>#
pub fn labels<I>(self, value: I) -> Self where I: IntoIterator, I::Item: Into<String>#

Trait implementations#

Derived: Debug, Clone

Auto traits: Send, Sync, Unpin, UnwindSafe, RefUnwindSafe