pub enum Feature {
Analytics,
Coins,
DynamicFields,
NameService,
Subscriptions,
SystemState,
MoveRegistry,
}
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Feature
impl<'de> Deserialize<'de> for Feature
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 Enum for Feature
impl Enum for Feature
Source§type SchemaType = Feature
type SchemaType = Feature
The enum in the schema that this type represents.
impl CoercesTo<Feature> for Feature
impl CoercesTo<Option<Feature>> for Feature
impl CoercesTo<Option<Option<Feature>>> for Feature
impl CoercesTo<Option<Vec<Feature>>> for Feature
impl CoercesTo<Option<Vec<Option<Feature>>>> for Feature
impl CoercesTo<Vec<Feature>> for Feature
impl CoercesTo<Vec<Vec<Feature>>> for Feature
impl Copy for Feature
Auto Trait Implementations§
impl Freeze for Feature
impl RefUnwindSafe for Feature
impl Send for Feature
impl Sync for Feature
impl Unpin for Feature
impl UnwindSafe for Feature
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
Casts
self
to type T
. The semantics of numeric casting with the as
operator are followed, so <T as As>::as_::<U>
can be used in the same way as T as U
for numeric conversions. Read moreSource§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