pub struct ContentInvestment {
pub content_id: Uuid,
pub cid: ContentCid,
pub title: String,
pub current_seeders: u64,
pub demand_level: DemandLevel,
pub predicted_revenue_per_gb: f64,
pub recommended_allocation_gb: f64,
}Expand description
Content investment recommendation.
Fields§
§content_id: Uuid§cid: ContentCid§title: String§current_seeders: u64§demand_level: DemandLevel§predicted_revenue_per_gb: f64§recommended_allocation_gb: f64Trait Implementations§
Source§impl Clone for ContentInvestment
impl Clone for ContentInvestment
Source§fn clone(&self) -> ContentInvestment
fn clone(&self) -> ContentInvestment
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 ContentInvestment
impl Debug for ContentInvestment
Source§impl<'de> Deserialize<'de> for ContentInvestment
impl<'de> Deserialize<'de> for ContentInvestment
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
Auto Trait Implementations§
impl Freeze for ContentInvestment
impl RefUnwindSafe for ContentInvestment
impl Send for ContentInvestment
impl Sync for ContentInvestment
impl Unpin for ContentInvestment
impl UnwindSafe for ContentInvestment
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