[][src]Struct openrtb2::Regs

pub struct Regs<'a> {
    pub coppa: Option<bool>,
    pub ext: Option<Object<'a>>,
}

3.2.3 Object: Regs

This object contains any legal, governmental, or industry regulations that apply to the request. The coppa flag signals whether or not the request falls under the United States Federal Trade Commission’s regulations for the United States Children’s Online Privacy Protection Act (“COPPA”).

Fields

coppa: Option<bool>

integer Flag indicating if this request is subject to the COPPA regulations established by the USA FTC, where 0 = no, 1 = yes. Refer to Section 7.5 for more information.

ext: Option<Object<'a>>

object Placeholder for exchange-specific extensions to OpenRTB.

Trait Implementations

impl<'a> Clone for Regs<'a>[src]

impl<'a> Debug for Regs<'a>[src]

impl<'a> Default for Regs<'a>[src]

impl<'de: 'a, 'a> Deserialize<'de> for Regs<'a>[src]

impl<'a> PartialEq<Regs<'a>> for Regs<'a>[src]

impl<'a> Serialize for Regs<'a>[src]

impl<'a> StructuralPartialEq for Regs<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Regs<'a>

impl<'a> Send for Regs<'a>

impl<'a> Sync for Regs<'a>

impl<'a> Unpin for Regs<'a>

impl<'a> UnwindSafe for Regs<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DefaultExt for T where
    T: Default + PartialEq<T>, 
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.