pub struct AdCardDto {Show 89 fields
pub card_type: i32,
pub title: String,
pub desc: String,
pub extra_desc: String,
pub long_desc: String,
pub short_title: String,
pub danmu_title: String,
pub danmu_height: i32,
pub danmu_width: i32,
pub danmu_life: i32,
pub danmu_begin: i32,
pub danmu_color: String,
pub danmu_h5_url: String,
pub danmu_icon: String,
pub fold_time: i32,
pub ad_tag: String,
pub covers: Vec<AdCoverDto>,
pub jump_url: String,
pub imax_landing_page_json_string: String,
pub callup_url: String,
pub universal_app: String,
pub ori_price: String,
pub cur_price: i32,
pub price_desc: String,
pub price_symbol: String,
pub goods_cur_price: String,
pub goods_ori_price: String,
pub good: Option<AdGoodDto>,
pub rank: i32,
pub hot_score: i32,
pub button: Option<AdButtonDto>,
pub adver_logo: String,
pub adver_name: String,
pub adver_page_url: String,
pub video_barrage: Vec<String>,
pub ad_tag_style: Option<AdBusinessMarkDto>,
pub video: Option<AdAutoPlayVideoDto>,
pub feedback_panel: Option<AdFeedbackPanelDto>,
pub adver_mid: i64,
pub adver_account_id: i64,
pub duration: String,
pub quality_infos: Vec<QualityInfo>,
pub dynamic_text: String,
pub adver: Option<AdverDto>,
pub grade_level: i32,
pub support_transition: bool,
pub transition: String,
pub under_player_interaction_style: i32,
pub imax_landing_page_v2: String,
pub subcard_module: Option<SubCardModule>,
pub grade_denominator: i32,
pub star_level: i32,
pub bulletin: Option<Bulletin>,
pub gift: Option<Gift>,
pub game_tags: Vec<String>,
pub ori_mark_hidden: i32,
pub use_multi_cover: bool,
pub wx_program_info: Option<WxProgramInfo>,
pub android_game_page_res: Option<AndroidGamePageRes>,
pub not_clickable_area: Option<NotClickableArea>,
pub forward_reply: Option<ForwardReply>,
pub av_content: String,
pub anim_in_enable: i32,
pub extra_params: String,
pub goods_item_id: i64,
pub card_style: i32,
pub game_info: Option<GameInfo>,
pub left_cover_badge_new_style: Option<LeftCoverBadgeNewStyle>,
pub game_rank: Option<GameRank>,
pub game_rating: String,
pub rcmd_reason_style: Option<FeedsRcmdReasonStyle>,
pub underframe_card_style: i32,
pub lottery_text: String,
pub calender_info: Option<AdCardCalenderInfo>,
pub half_panel_interaction_style: i32,
pub half_panel_content_type: i32,
pub story_anchor: Option<StoryAnchor>,
pub jump_interaction_style: i32,
pub warm_up_text: String,
pub live_page_type: i32,
pub playpage_card_style: i32,
pub app_download_style: Option<AppDownloadStyle>,
pub desc_list: Vec<Text>,
pub product_source: String,
pub coupon_desc: String,
pub coupon_price: String,
pub volume_desc: String,
pub labels: Vec<String>,
pub item_source: i32,
}Expand description
Fields§
§card_type: i32§title: String§desc: String§extra_desc: String§long_desc: String§short_title: String§danmu_title: String§danmu_height: i32§danmu_width: i32§danmu_life: i32§danmu_begin: i32§danmu_color: String§danmu_h5_url: String§danmu_icon: String§fold_time: i32§ad_tag: String§covers: Vec<AdCoverDto>§jump_url: String§imax_landing_page_json_string: String§callup_url: String§universal_app: String§ori_price: String§cur_price: i32§price_desc: String§price_symbol: String§goods_cur_price: String§goods_ori_price: String§good: Option<AdGoodDto>§rank: i32§hot_score: i32§adver_logo: String§adver_name: String§adver_page_url: String§video_barrage: Vec<String>§ad_tag_style: Option<AdBusinessMarkDto>§video: Option<AdAutoPlayVideoDto>§feedback_panel: Option<AdFeedbackPanelDto>§adver_mid: i64§adver_account_id: i64§duration: String§quality_infos: Vec<QualityInfo>§dynamic_text: String§adver: Option<AdverDto>§grade_level: i32§support_transition: bool§transition: String§under_player_interaction_style: i32§imax_landing_page_v2: String§subcard_module: Option<SubCardModule>§grade_denominator: i32§star_level: i32§bulletin: Option<Bulletin>§gift: Option<Gift>§use_multi_cover: bool§wx_program_info: Option<WxProgramInfo>§android_game_page_res: Option<AndroidGamePageRes>§not_clickable_area: Option<NotClickableArea>§forward_reply: Option<ForwardReply>§av_content: String§anim_in_enable: i32§extra_params: String§goods_item_id: i64§card_style: i32§game_info: Option<GameInfo>§left_cover_badge_new_style: Option<LeftCoverBadgeNewStyle>§game_rank: Option<GameRank>§game_rating: String§rcmd_reason_style: Option<FeedsRcmdReasonStyle>§underframe_card_style: i32§lottery_text: String§calender_info: Option<AdCardCalenderInfo>§half_panel_interaction_style: i32§half_panel_content_type: i32§story_anchor: Option<StoryAnchor>§jump_interaction_style: i32§warm_up_text: String§live_page_type: i32§playpage_card_style: i32§app_download_style: Option<AppDownloadStyle>§desc_list: Vec<Text>§product_source: String§coupon_desc: String§coupon_price: String§volume_desc: String§labels: Vec<String>§item_source: i32Trait Implementations§
Source§impl Message for AdCardDto
impl Message for AdCardDto
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.impl StructuralPartialEq for AdCardDto
Auto Trait Implementations§
impl Freeze for AdCardDto
impl RefUnwindSafe for AdCardDto
impl Send for AdCardDto
impl Sync for AdCardDto
impl Unpin for AdCardDto
impl UnwindSafe for AdCardDto
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request