#[non_exhaustive]pub struct LobbyInvite {
pub code: CompactString,
}Expand description
A lobby invite: an invite to the lobby’s linked channel.
discord.js counterpart: none (lobbies are not in discord.js v14 or discord-api-types).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.code: CompactStringThe invite code.
Trait Implementations§
Source§impl Clone for LobbyInvite
impl Clone for LobbyInvite
Source§impl Debug for LobbyInvite
impl Debug for LobbyInvite
Source§impl<'de> Deserialize<'de> for LobbyInvite
impl<'de> Deserialize<'de> for LobbyInvite
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 LobbyInvite
Source§impl Hash for LobbyInvite
impl Hash for LobbyInvite
Source§impl PartialEq for LobbyInvite
impl PartialEq for LobbyInvite
Source§impl Serialize for LobbyInvite
impl Serialize for LobbyInvite
impl StructuralPartialEq for LobbyInvite
Auto Trait Implementations§
impl Forget for LobbyInvite
impl Freeze for LobbyInvite
impl Move for LobbyInvite
impl RefUnwindSafe for LobbyInvite
impl Send for LobbyInvite
impl Sync for LobbyInvite
impl Unpin for LobbyInvite
impl UnsafeUnpin for LobbyInvite
impl UnwindSafe for LobbyInvite
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