#[non_exhaustive]pub enum ProviderSort {
By(ProviderSortBy),
Config(ProviderSortConfig),
}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.
By(ProviderSortBy)
Config(ProviderSortConfig)
Trait Implementations§
Source§impl Clone for ProviderSort
impl Clone for ProviderSort
Source§impl Debug for ProviderSort
impl Debug for ProviderSort
Source§impl DeclaredFields for ProviderSort
impl DeclaredFields for ProviderSort
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for ProviderSort
impl<'de> Deserialize<'de> for ProviderSort
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 ProviderSort
impl PartialEq for ProviderSort
Source§impl Serialize for ProviderSort
impl Serialize for ProviderSort
impl StructuralPartialEq for ProviderSort
Auto Trait Implementations§
impl Freeze for ProviderSort
impl RefUnwindSafe for ProviderSort
impl Send for ProviderSort
impl Sync for ProviderSort
impl Unpin for ProviderSort
impl UnsafeUnpin for ProviderSort
impl UnwindSafe for ProviderSort
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