Struct google_customsearch1::api::PromotionBodyLines
source · pub struct PromotionBodyLines {
pub html_title: Option<String>,
pub link: Option<String>,
pub title: Option<String>,
pub url: Option<String>,
}
Expand description
Block object belonging to a promotion.
This type is not used in any activity, and only used as part of another schema.
Fields§
§html_title: Option<String>
The block object’s text in HTML, if it has text.
link: Option<String>
The anchor text of the block object’s link, if it has a link.
title: Option<String>
The block object’s text, if it has text.
url: Option<String>
The URL of the block object’s link, if it has one.
Trait Implementations§
source§impl Clone for PromotionBodyLines
impl Clone for PromotionBodyLines
source§fn clone(&self) -> PromotionBodyLines
fn clone(&self) -> PromotionBodyLines
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PromotionBodyLines
impl Debug for PromotionBodyLines
source§impl Default for PromotionBodyLines
impl Default for PromotionBodyLines
source§fn default() -> PromotionBodyLines
fn default() -> PromotionBodyLines
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PromotionBodyLines
impl<'de> Deserialize<'de> for PromotionBodyLines
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
source§impl Serialize for PromotionBodyLines
impl Serialize for PromotionBodyLines
impl NestedType for PromotionBodyLines
impl Part for PromotionBodyLines
Auto Trait Implementations§
impl RefUnwindSafe for PromotionBodyLines
impl Send for PromotionBodyLines
impl Sync for PromotionBodyLines
impl Unpin for PromotionBodyLines
impl UnwindSafe for PromotionBodyLines
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