pub enum CreatorTier {
Free,
Creator,
Pro,
Enterprise,
}Expand description
Creator tier determining fees and features
Variants§
Free
Free tier: 10% platform fee
Creator
Creator tier ($29/month): 7% platform fee
Pro
Pro tier ($99/month): 5% platform fee
Enterprise
Enterprise tier (custom pricing): Custom fee
Implementations§
Source§impl CreatorTier
impl CreatorTier
Sourcepub fn fee_percentage(&self) -> u64
pub fn fee_percentage(&self) -> u64
Get the platform fee percentage for this tier
Trait Implementations§
Source§impl Clone for CreatorTier
impl Clone for CreatorTier
Source§fn clone(&self) -> CreatorTier
fn clone(&self) -> CreatorTier
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 CreatorTier
impl Debug for CreatorTier
Source§impl Default for CreatorTier
impl Default for CreatorTier
Source§fn default() -> CreatorTier
fn default() -> CreatorTier
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreatorTier
impl<'de> Deserialize<'de> for CreatorTier
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 From<CreatorTier> for CreatorTierDto
impl From<CreatorTier> for CreatorTierDto
Source§fn from(tier: CreatorTier) -> Self
fn from(tier: CreatorTier) -> Self
Converts to this type from the input type.
Source§impl From<CreatorTierDto> for CreatorTier
impl From<CreatorTierDto> for CreatorTier
Source§fn from(dto: CreatorTierDto) -> Self
fn from(dto: CreatorTierDto) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CreatorTier
impl PartialEq for CreatorTier
Source§impl Serialize for CreatorTier
impl Serialize for CreatorTier
impl Copy for CreatorTier
impl Eq for CreatorTier
impl StructuralPartialEq for CreatorTier
Auto Trait Implementations§
impl Freeze for CreatorTier
impl RefUnwindSafe for CreatorTier
impl Send for CreatorTier
impl Sync for CreatorTier
impl Unpin for CreatorTier
impl UnsafeUnpin for CreatorTier
impl UnwindSafe for CreatorTier
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.