pub struct SubCardModule {Show 29 fields
pub subcard_type: String,
pub icon: String,
pub desc: String,
pub rank_stars: String,
pub amount_number: String,
pub avatar: String,
pub title: String,
pub button: Option<AdButtonDto>,
pub tag_infos: Vec<TagInfo>,
pub quality_infos: Vec<QualityInfo>,
pub star_rating: String,
pub sub_desc: String,
pub price_symbol: String,
pub goods_price: String,
pub comment_list: Vec<Comment>,
pub gift_card_info: Option<GiftCardInfo>,
pub extra_img: String,
pub choose_button_list: Vec<AdButtonDto>,
pub component_id: i64,
pub pop_delay_time: i64,
pub callup_url: String,
pub jump_url: String,
pub ad_img_tag: String,
pub full_text: Option<FullText>,
pub forward_reply: Option<ForwardReply>,
pub wx_program_info: Option<WxProgramInfo>,
pub night_icon: String,
pub price_desc: String,
pub ori_price: String,
}Expand description
Fields§
§subcard_type: String§icon: String§desc: String§rank_stars: String§amount_number: String§avatar: String§title: String§tag_infos: Vec<TagInfo>§quality_infos: Vec<QualityInfo>§star_rating: String§sub_desc: String§price_symbol: String§goods_price: String§comment_list: Vec<Comment>§gift_card_info: Option<GiftCardInfo>§extra_img: String§component_id: i64§pop_delay_time: i64§callup_url: String§jump_url: String§ad_img_tag: String§full_text: Option<FullText>§forward_reply: Option<ForwardReply>§wx_program_info: Option<WxProgramInfo>§night_icon: String§price_desc: String§ori_price: StringTrait Implementations§
Source§impl Clone for SubCardModule
impl Clone for SubCardModule
Source§fn clone(&self) -> SubCardModule
fn clone(&self) -> SubCardModule
Returns a duplicate 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 SubCardModule
impl Debug for SubCardModule
Source§impl Default for SubCardModule
impl Default for SubCardModule
Source§impl Message for SubCardModule
impl Message for SubCardModule
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.Source§impl PartialEq for SubCardModule
impl PartialEq for SubCardModule
impl StructuralPartialEq for SubCardModule
Auto Trait Implementations§
impl Freeze for SubCardModule
impl RefUnwindSafe for SubCardModule
impl Send for SubCardModule
impl Sync for SubCardModule
impl Unpin for SubCardModule
impl UnwindSafe for SubCardModule
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