pub struct GetSdkAdConfigResp {Show 27 fields
pub show_ad: bool,
pub show_splash_interval: i64,
pub load_splash_timeout: i64,
pub recommend: Option<RecommendSdkAd>,
pub splash_hot: Option<SplashHotSdkAd>,
pub splash_cold: Option<SplashColdSdkAd>,
pub native_roll: Option<NativeRollSdkAd>,
pub in_stream_roll: Option<InStreamRollSdkAd>,
pub feed: Option<FeedSdkAd>,
pub gaming: Option<GamingSdkAd>,
pub search_result: Option<SearchResultSdkAd>,
pub view_rect: Option<ViewRectSdkAd>,
pub download_rewarded: Option<DownloadRewardedSdkAd>,
pub player_pause_half_screen: Option<PlayerPauseHalfScreenAdkAd>,
pub player_pause_full_screen: Option<PlayerPauseFullScreenAdkAd>,
pub switch_video_interstitial: Option<SwitchVideoInterstitialSdkAd>,
pub download_page_banner: Option<DownloadPageBannerSdkAd>,
pub mine_banner: Option<MineBannerSdkAd>,
pub view_rewarded: Option<ViewRewardedSdkAd>,
pub under_player: Option<UnderPlayerSdkAd>,
pub view_unlock_reward_ad: Option<ViewUnlockRewardAd>,
pub search_result_rect_banner: Option<SearchResultRectBannerSdkAd>,
pub player_overlays: Option<PlayerOverlaysSdkAd>,
pub search_square_rect_banner: Option<SearchSquareRectBannerSdkAd>,
pub in_stream_mid_post_roll: Option<InStreamRollMidPostSdkAd>,
pub view_rewarded_mix: Option<ViewRewardedMixAd>,
pub tradplus_custom_maps: Vec<TradplusCustomMap>,
}Expand description
Fields§
§show_ad: bool§show_splash_interval: i64§load_splash_timeout: i64§recommend: Option<RecommendSdkAd>§splash_hot: Option<SplashHotSdkAd>§splash_cold: Option<SplashColdSdkAd>§native_roll: Option<NativeRollSdkAd>§in_stream_roll: Option<InStreamRollSdkAd>§feed: Option<FeedSdkAd>§gaming: Option<GamingSdkAd>§search_result: Option<SearchResultSdkAd>§view_rect: Option<ViewRectSdkAd>§download_rewarded: Option<DownloadRewardedSdkAd>§player_pause_half_screen: Option<PlayerPauseHalfScreenAdkAd>§player_pause_full_screen: Option<PlayerPauseFullScreenAdkAd>§switch_video_interstitial: Option<SwitchVideoInterstitialSdkAd>§view_rewarded: Option<ViewRewardedSdkAd>§under_player: Option<UnderPlayerSdkAd>§view_unlock_reward_ad: Option<ViewUnlockRewardAd>§player_overlays: Option<PlayerOverlaysSdkAd>§in_stream_mid_post_roll: Option<InStreamRollMidPostSdkAd>§view_rewarded_mix: Option<ViewRewardedMixAd>§tradplus_custom_maps: Vec<TradplusCustomMap>Trait Implementations§
Source§impl Clone for GetSdkAdConfigResp
impl Clone for GetSdkAdConfigResp
Source§fn clone(&self) -> GetSdkAdConfigResp
fn clone(&self) -> GetSdkAdConfigResp
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 GetSdkAdConfigResp
impl Debug for GetSdkAdConfigResp
Source§impl Default for GetSdkAdConfigResp
impl Default for GetSdkAdConfigResp
Source§impl Message for GetSdkAdConfigResp
impl Message for GetSdkAdConfigResp
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 GetSdkAdConfigResp
impl PartialEq for GetSdkAdConfigResp
impl StructuralPartialEq for GetSdkAdConfigResp
Auto Trait Implementations§
impl Freeze for GetSdkAdConfigResp
impl RefUnwindSafe for GetSdkAdConfigResp
impl Send for GetSdkAdConfigResp
impl Sync for GetSdkAdConfigResp
impl Unpin for GetSdkAdConfigResp
impl UnwindSafe for GetSdkAdConfigResp
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