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