Enum discord_sdk::lobby::search::LobbySearchCast
source · #[repr(u8)]pub enum LobbySearchCast {
String = 1,
Number = 2,
}
Expand description
Determines how the search value is cast before comparison
Variants§
Trait Implementations§
source§impl Clone for LobbySearchCast
impl Clone for LobbySearchCast
source§fn clone(&self) -> LobbySearchCast
fn clone(&self) -> LobbySearchCast
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 LobbySearchCast
impl Debug for LobbySearchCast
source§impl<'de> Deserialize<'de> for LobbySearchCast
impl<'de> Deserialize<'de> for LobbySearchCast
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 LobbySearchCast
impl PartialEq for LobbySearchCast
source§impl Serialize for LobbySearchCast
impl Serialize for LobbySearchCast
impl Copy for LobbySearchCast
impl Eq for LobbySearchCast
impl StructuralPartialEq for LobbySearchCast
Auto Trait Implementations§
impl Freeze for LobbySearchCast
impl RefUnwindSafe for LobbySearchCast
impl Send for LobbySearchCast
impl Sync for LobbySearchCast
impl Unpin for LobbySearchCast
impl UnwindSafe for LobbySearchCast
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
)