pub enum OneOfNetwork {
facebook(Facebook),
admob(Admob),
adsense(Adsense),
None,
}
Variants§
Trait Implementations§
Source§impl Clone for OneOfNetwork
impl Clone for OneOfNetwork
Source§fn clone(&self) -> OneOfNetwork
fn clone(&self) -> OneOfNetwork
Returns a copy 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 OneOfNetwork
impl Debug for OneOfNetwork
Source§impl Default for OneOfNetwork
impl Default for OneOfNetwork
Source§impl<'de> Deserialize<'de> for OneOfNetwork
impl<'de> Deserialize<'de> for OneOfNetwork
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
Source§impl PartialEq for OneOfNetwork
impl PartialEq for OneOfNetwork
Source§impl Serialize for OneOfNetwork
impl Serialize for OneOfNetwork
impl StructuralPartialEq for OneOfNetwork
Auto Trait Implementations§
impl Freeze for OneOfNetwork
impl RefUnwindSafe for OneOfNetwork
impl Send for OneOfNetwork
impl Sync for OneOfNetwork
impl Unpin for OneOfNetwork
impl UnwindSafe for OneOfNetwork
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