#[non_exhaustive]pub enum DiplomatBackendAttrCfg {
Not(Box<DiplomatBackendAttrCfg>),
Any(Vec<DiplomatBackendAttrCfg>),
All(Vec<DiplomatBackendAttrCfg>),
Star,
BackendName(String),
NameValue(String, String),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Not(Box<DiplomatBackendAttrCfg>)
Any(Vec<DiplomatBackendAttrCfg>)
All(Vec<DiplomatBackendAttrCfg>)
Star
BackendName(String)
NameValue(String, String)
Trait Implementations§
source§impl Clone for DiplomatBackendAttrCfg
impl Clone for DiplomatBackendAttrCfg
source§fn clone(&self) -> DiplomatBackendAttrCfg
fn clone(&self) -> DiplomatBackendAttrCfg
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 DiplomatBackendAttrCfg
impl Debug for DiplomatBackendAttrCfg
source§impl Hash for DiplomatBackendAttrCfg
impl Hash for DiplomatBackendAttrCfg
source§impl Parse for DiplomatBackendAttrCfg
impl Parse for DiplomatBackendAttrCfg
fn parse(input: ParseStream<'_>) -> Result<Self>
source§impl PartialEq for DiplomatBackendAttrCfg
impl PartialEq for DiplomatBackendAttrCfg
source§impl Serialize for DiplomatBackendAttrCfg
impl Serialize for DiplomatBackendAttrCfg
impl Eq for DiplomatBackendAttrCfg
impl StructuralPartialEq for DiplomatBackendAttrCfg
Auto Trait Implementations§
impl Freeze for DiplomatBackendAttrCfg
impl RefUnwindSafe for DiplomatBackendAttrCfg
impl Send for DiplomatBackendAttrCfg
impl Sync for DiplomatBackendAttrCfg
impl Unpin for DiplomatBackendAttrCfg
impl UnwindSafe for DiplomatBackendAttrCfg
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)