AdCardDto

Struct AdCardDto 

Source
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
§button: Option<AdButtonDto>
§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>
§game_tags: Vec<String>
§ori_mark_hidden: i32
§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: i32

Trait Implementations§

Source§

impl Clone for AdCardDto

Source§

fn clone(&self) -> AdCardDto

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for AdCardDto

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for AdCardDto

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Message for AdCardDto

Source§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
Source§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
Source§

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,

Encodes the message to a newly allocated buffer.
Source§

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,

Encodes the message with a length-delimiter to a newly allocated buffer.
Source§

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,

Decodes a length-delimited instance of the message from the buffer.
Source§

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 more
Source§

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.
Source§

impl PartialEq for AdCardDto

Source§

fn eq(&self, other: &AdCardDto) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for AdCardDto

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoRequest<T> for T

Source§

fn into_request(self) -> Request<T>

Wrap the input message T in a tonic::Request
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more