File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -25,20 +25,24 @@ pub struct AdSlot {
2525 /// see IAB ad unit guidelines and iab_flex_{adUnitName} (see IAB's new ad portfolio and PDF)
2626 #[ serde( rename = "type" ) ]
2727 pub ad_type : String ,
28- /// HashMap<DepositAsset, UnifiedNum> for the minimum payment accepted per impression
28+ /// The minimum [`IMPRESSION`] payment accepted for the slot per deposit asset (token address).
29+ ///
30+ /// `HashMap<DepositAsset, UnifiedNum>`
31+ ///
32+ /// [`IMPRESSION`]: crate::sentry::IMPRESSION
2933 #[ serde( default ) ]
3034 pub min_per_impression : Option < HashMap < Address , UnifiedNum > > ,
3135 #[ serde( default ) ]
3236 pub rules : Rules ,
3337 /// Valid ipfs hash for Ad Unit object. It will be used as fallback data (optional)
3438 #[ serde( default ) ]
3539 pub fallback_unit : Option < IPFS > ,
36- /// User address from the session
40+ /// The AdSlot owner (Publisher)
3741 pub owner : ValidatorId ,
3842 /// UTC timestamp in milliseconds, used as nonce for escaping duplicated spec ipfs hashes
3943 #[ serde( with = "ts_milliseconds" ) ]
4044 pub created : DateTime < Utc > ,
41- /// the name of the unit used in platform UI
45+ /// The name of the unit used in platform UI
4246 #[ serde( default ) ]
4347 pub title : Option < String > ,
4448 /// arbitrary text used in platform UI
You can’t perform that action at this time.
0 commit comments