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 {
25
25
/// see IAB ad unit guidelines and iab_flex_{adUnitName} (see IAB's new ad portfolio and PDF)
26
26
#[ serde( rename = "type" ) ]
27
27
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
29
33
#[ serde( default ) ]
30
34
pub min_per_impression : Option < HashMap < Address , UnifiedNum > > ,
31
35
#[ serde( default ) ]
32
36
pub rules : Rules ,
33
37
/// Valid ipfs hash for Ad Unit object. It will be used as fallback data (optional)
34
38
#[ serde( default ) ]
35
39
pub fallback_unit : Option < IPFS > ,
36
- /// User address from the session
40
+ /// The AdSlot owner (Publisher)
37
41
pub owner : ValidatorId ,
38
42
/// UTC timestamp in milliseconds, used as nonce for escaping duplicated spec ipfs hashes
39
43
#[ serde( with = "ts_milliseconds" ) ]
40
44
pub created : DateTime < Utc > ,
41
- /// the name of the unit used in platform UI
45
+ /// The name of the unit used in platform UI
42
46
#[ serde( default ) ]
43
47
pub title : Option < String > ,
44
48
/// arbitrary text used in platform UI
You can’t perform that action at this time.
0 commit comments