Enum discord_sdk::lobby::search::LobbySearchComparison
source · #[repr(i8)]pub enum LobbySearchComparison {
LessThanOrEqual = -2,
LessThan = -1,
Equal = 0,
GreaterThan = 1,
GreaterThanOrEqual = 2,
NotEqual = 3,
}
Expand description
The logical comparison to use when comparing the value of the filter key in the lobby metadata against the value provided to compare it against
Variants§
Trait Implementations§
source§impl Clone for LobbySearchComparison
impl Clone for LobbySearchComparison
source§fn clone(&self) -> LobbySearchComparison
fn clone(&self) -> LobbySearchComparison
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 LobbySearchComparison
impl Debug for LobbySearchComparison
source§impl<'de> Deserialize<'de> for LobbySearchComparison
impl<'de> Deserialize<'de> for LobbySearchComparison
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 LobbySearchComparison
impl PartialEq for LobbySearchComparison
source§fn eq(&self, other: &LobbySearchComparison) -> bool
fn eq(&self, other: &LobbySearchComparison) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LobbySearchComparison
impl Serialize for LobbySearchComparison
impl Copy for LobbySearchComparison
impl Eq for LobbySearchComparison
impl StructuralPartialEq for LobbySearchComparison
Auto Trait Implementations§
impl RefUnwindSafe for LobbySearchComparison
impl Send for LobbySearchComparison
impl Sync for LobbySearchComparison
impl Unpin for LobbySearchComparison
impl UnwindSafe for LobbySearchComparison
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