Enum v4v::GenericRecipient
source · pub enum GenericRecipient {
ShareBased {
num_shares: u64,
},
PercentageBased {
percentage: u64,
},
}Expand description
Represents a share- or percentage-based recipient.
Percentage fees as part of the Podcasting 2.0 spec are controversial, but a hosting company or an app may still find the concept useful. This enum is used to convert everything to share-like splits, which are widely supported.
Variants§
Auto Trait Implementations§
impl Freeze for GenericRecipient
impl RefUnwindSafe for GenericRecipient
impl Send for GenericRecipient
impl Sync for GenericRecipient
impl Unpin for GenericRecipient
impl UnwindSafe for GenericRecipient
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