pub enum DiscriminationDef {
Test,
Production,
}
Variants§
Implementations§
source§impl DiscriminationDef
impl DiscriminationDef
pub fn serialize<__S>( __self: &Discrimination, __serializer: __S ) -> Result<__S::Ok, __S::Error>where __S: Serializer,
source§impl<'de> DiscriminationDef
impl<'de> DiscriminationDef
pub fn deserialize<__D>( __deserializer: __D ) -> Result<Discrimination, __D::Error>where __D: Deserializer<'de>,
Auto Trait Implementations§
impl RefUnwindSafe for DiscriminationDef
impl Send for DiscriminationDef
impl Sync for DiscriminationDef
impl Unpin for DiscriminationDef
impl UnwindSafe for DiscriminationDef
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