Enum discord_sdk::lobby::search::SearchKey
source · pub enum SearchKey<'md> {
OwnerId,
Capacity,
Slots,
Metadata(&'md str),
}
Variants§
OwnerId
The user id of the owner of the lobby
Capacity
The maximum capacity of the lobby
Slots
The number of available slots in the lobby
Metadata(&'md str)
A metadata key name
Trait Implementations§
Auto Trait Implementations§
impl<'md> RefUnwindSafe for SearchKey<'md>
impl<'md> Send for SearchKey<'md>
impl<'md> Sync for SearchKey<'md>
impl<'md> Unpin for SearchKey<'md>
impl<'md> UnwindSafe for SearchKey<'md>
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