#[repr(i32)]pub enum RewardDeliverStatus {
Unknown = -1,
NotActivated = 0,
ActivatedOrShipping = 1,
Consumed = 2,
EVoucherActivating = 5,
EVoucherExpired = 6,
EVoucherInvalid = 7,
AddressMissing = 8,
AddressFilled = 9,
Shipping = 10,
}Expand description
Delivery status of an issued prize (only meaningful when the reward
status is RewardStatus::Issued and the reward is a gift)
Variants§
Unknown = -1
Unknown (an undocumented code, or no delivery status)
NotActivated = 0
Not activated
ActivatedOrShipping = 1
Activated, or shipping
Consumed = 2
Consumed
EVoucherActivating = 5
E-voucher activating
EVoucherExpired = 6
E-voucher expired before activation
EVoucherInvalid = 7
E-voucher invalid
AddressMissing = 8
Shipping address missing
AddressFilled = 9
Shipping address filled (the server uses both 9 and 11)
Shipping = 10
Shipping
Trait Implementations§
Source§impl Clone for RewardDeliverStatus
impl Clone for RewardDeliverStatus
impl Copy for RewardDeliverStatus
Source§impl Debug for RewardDeliverStatus
impl Debug for RewardDeliverStatus
Source§impl Default for RewardDeliverStatus
impl Default for RewardDeliverStatus
Source§impl<'de> Deserialize<'de> for RewardDeliverStatus
impl<'de> Deserialize<'de> for RewardDeliverStatus
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RewardDeliverStatus
Source§impl From<RewardDeliverStatus> for i32
impl From<RewardDeliverStatus> for i32
Source§fn from(enum_value: RewardDeliverStatus) -> Self
fn from(enum_value: RewardDeliverStatus) -> Self
Converts to this type from the input type.
Source§impl From<i32> for RewardDeliverStatus
impl From<i32> for RewardDeliverStatus
Source§impl FromPrimitive for RewardDeliverStatus
impl FromPrimitive for RewardDeliverStatus
Source§impl Hash for RewardDeliverStatus
impl Hash for RewardDeliverStatus
Source§impl PartialEq for RewardDeliverStatus
impl PartialEq for RewardDeliverStatus
Source§impl Serialize for RewardDeliverStatus
impl Serialize for RewardDeliverStatus
impl StructuralPartialEq for RewardDeliverStatus
Auto Trait Implementations§
impl Freeze for RewardDeliverStatus
impl RefUnwindSafe for RewardDeliverStatus
impl Send for RewardDeliverStatus
impl Sync for RewardDeliverStatus
impl Unpin for RewardDeliverStatus
impl UnsafeUnpin for RewardDeliverStatus
impl UnwindSafe for RewardDeliverStatus
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more