Struct discord_sdk::lobby::UpdateLobbyBuilder
source · pub struct UpdateLobbyBuilder { /* private fields */ }
Implementations§
source§impl UpdateLobbyBuilder
impl UpdateLobbyBuilder
pub fn new(to_update: &Lobby) -> Self
pub fn capacity(self, capacity: Option<NonZeroU32>) -> Self
pub fn kind(self, kind: LobbyKind) -> Self
pub fn locked(self, locked: bool) -> Self
pub fn owner(self, owner: Option<UserId>) -> Self
pub fn add_metadata( self, md: impl IntoIterator<Item = (String, String)>, ) -> Self
pub fn delete_metadata<'key>( self, to_remove: impl IntoIterator<Item = &'key str>, ) -> Self
Auto Trait Implementations§
impl Freeze for UpdateLobbyBuilder
impl RefUnwindSafe for UpdateLobbyBuilder
impl Send for UpdateLobbyBuilder
impl Sync for UpdateLobbyBuilder
impl Unpin for UpdateLobbyBuilder
impl UnwindSafe for UpdateLobbyBuilder
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