pub enum PremiumPromo {
PremiumPromo(PremiumPromo),
}Expand description
Variants§
PremiumPromo(PremiumPromo)
Trait Implementations§
Source§impl Clone for PremiumPromo
impl Clone for PremiumPromo
Source§fn clone(&self) -> PremiumPromo
fn clone(&self) -> PremiumPromo
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 PremiumPromo
impl Debug for PremiumPromo
Source§impl Deserializable for PremiumPromo
impl Deserializable for PremiumPromo
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<PremiumPromo> for PremiumPromo
impl From<PremiumPromo> for PremiumPromo
Source§fn from(x: PremiumPromo) -> Self
fn from(x: PremiumPromo) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PremiumPromo
impl PartialEq for PremiumPromo
Source§impl Serializable for PremiumPromo
impl Serializable for PremiumPromo
Source§impl TryFrom<PremiumPromo> for PremiumPromo
impl TryFrom<PremiumPromo> for PremiumPromo
Source§type Error = PremiumPromo
type Error = PremiumPromo
The type returned in the event of a conversion error.
impl StructuralPartialEq for PremiumPromo
Auto Trait Implementations§
impl Freeze for PremiumPromo
impl RefUnwindSafe for PremiumPromo
impl Send for PremiumPromo
impl Sync for PremiumPromo
impl Unpin for PremiumPromo
impl UnsafeUnpin for PremiumPromo
impl UnwindSafe for PremiumPromo
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