pub struct BannerAdOptions {
pub ad_unit_id: String,
pub position: BannerPosition,
pub ad_size: BannerSize,
}Fields§
§ad_unit_id: String§position: BannerPosition§ad_size: BannerSizeTrait Implementations§
Source§impl Clone for BannerAdOptions
impl Clone for BannerAdOptions
Source§fn clone(&self) -> BannerAdOptions
fn clone(&self) -> BannerAdOptions
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 BannerAdOptions
impl Debug for BannerAdOptions
Source§impl<'de> Deserialize<'de> for BannerAdOptions
impl<'de> Deserialize<'de> for BannerAdOptions
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
Auto Trait Implementations§
impl Freeze for BannerAdOptions
impl RefUnwindSafe for BannerAdOptions
impl Send for BannerAdOptions
impl Sync for BannerAdOptions
impl Unpin for BannerAdOptions
impl UnwindSafe for BannerAdOptions
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