pub struct Publisher {
pub id: Option<String>,
pub name: Option<String>,
pub cat: Option<Vec<ContentCategory>>,
pub domain: Option<String>,
pub ext: Option<Map<String, Value>>,
}
Expand description
3.2.15 Object: Publisher
This object describes the publisher of the media in which the ad will be displayed. The publisher is typically the seller in an OpenRTB transaction.
Fields§
§id: Option<String>
string Exchange-specific publisher ID.
name: Option<String>
string Publisher name (may be aliased at the publisher’s request).
cat: Option<Vec<ContentCategory>>
string array Array of IAB content categories that describe the publisher. Refer to List 5.1.
domain: Option<String>
string Highest level domain of the publisher (e.g., “publisher.com”).
ext: Option<Map<String, Value>>
object Placeholder for exchange-specific extensions to OpenRTB.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Publisher
impl<'de> Deserialize<'de> for Publisher
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
impl StructuralPartialEq for Publisher
Auto Trait Implementations§
impl Freeze for Publisher
impl RefUnwindSafe for Publisher
impl Send for Publisher
impl Sync for Publisher
impl Unpin for Publisher
impl UnwindSafe for Publisher
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