pub struct Title {
pub len: i32,
pub ext: Option<Map<String, Value>>,
}Expand description
4.3 Title Request Object
The Title object is to be used for title element of the Native ad.
Fields§
§len: i32required; integer; - Maximum length of the text in the title element. Recommended to be 25, 90, or 140.
ext: Option<Map<String, Value>>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§
Source§impl<'de> Deserialize<'de> for Title
impl<'de> Deserialize<'de> for Title
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 Title
Auto Trait Implementations§
impl Freeze for Title
impl RefUnwindSafe for Title
impl Send for Title
impl Sync for Title
impl Unpin for Title
impl UnwindSafe for Title
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