[−][src]Struct openrtb_native1::response::Title
5.3 Title Response Object
Corresponds to the Title Object in the request, with the value filled in. If using assetsurl or dcourl response rather than embedded asset response, it is recommended that three title objects be provided, the length of each of which is less than or equal to the three recommended maximum title lengths (25,90,140).
Fields
text: Cow<'a, str>
required; string; - The text associated with the text element.
len: Option<i32>
optional; integer; - The length of the title being provided. Required if using assetsurl/dcourl representation, optional if using embedded asset representation.
ext: Option<Object<'a>>
optional; object; - This object is a placeholder that may contain custom JSON agreed to by the parties to support flexibility beyond the standard defined in this specification.
Trait Implementations
impl<'a> Clone for Title<'a>
[src]
impl<'a> Debug for Title<'a>
[src]
impl<'a> Default for Title<'a>
[src]
impl<'de: 'a, 'a> Deserialize<'de> for Title<'a>
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<'a> PartialEq<Title<'a>> for Title<'a>
[src]
impl<'a> Serialize for Title<'a>
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'a> StructuralPartialEq for Title<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for Title<'a>
impl<'a> Send for Title<'a>
impl<'a> Sync for Title<'a>
impl<'a> Unpin for Title<'a>
impl<'a> UnwindSafe for Title<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DefaultExt for T where
T: Default + PartialEq<T>,
[src]
T: Default + PartialEq<T>,
pub fn is_default(&self) -> bool
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,