pub enum MarketResourceType {
Resource(ResourceType),
IntershardResource(IntershardResourceType),
}
Expand description
Translates all resource types that can be used on the market.
Variants§
Resource(ResourceType)
IntershardResource(IntershardResourceType)
Trait Implementations§
Source§impl Clone for MarketResourceType
impl Clone for MarketResourceType
Source§fn clone(&self) -> MarketResourceType
fn clone(&self) -> MarketResourceType
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 MarketResourceType
impl Debug for MarketResourceType
Source§impl<'de> Deserialize<'de> for MarketResourceType
impl<'de> Deserialize<'de> for MarketResourceType
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 FromWasmAbi for MarketResourceType
impl FromWasmAbi for MarketResourceType
Source§impl Hash for MarketResourceType
impl Hash for MarketResourceType
Source§impl IntoWasmAbi for MarketResourceType
impl IntoWasmAbi for MarketResourceType
Source§impl PartialEq for MarketResourceType
impl PartialEq for MarketResourceType
Source§impl Sequence for MarketResourceType
impl Sequence for MarketResourceType
Source§impl Serialize for MarketResourceType
impl Serialize for MarketResourceType
impl Copy for MarketResourceType
impl Eq for MarketResourceType
impl StructuralPartialEq for MarketResourceType
Auto Trait Implementations§
impl Freeze for MarketResourceType
impl RefUnwindSafe for MarketResourceType
impl Send for MarketResourceType
impl Sync for MarketResourceType
impl Unpin for MarketResourceType
impl UnwindSafe for MarketResourceType
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,
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
Source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.