Struct rivet_matchmaker::model::lobby_info::Builder
source · #[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for LobbyInfo
Implementations
sourceimpl Builder
impl Builder
pub fn region_id(self, input: impl Into<String>) -> Self
pub fn set_region_id(self, input: Option<String>) -> Self
pub fn game_mode_id(self, input: impl Into<String>) -> Self
pub fn set_game_mode_id(self, input: Option<String>) -> Self
sourcepub fn set_lobby_id(self, input: Option<String>) -> Self
pub fn set_lobby_id(self, input: Option<String>) -> Self
A universally unique identifier.
sourcepub fn max_players_normal(self, input: i32) -> Self
pub fn max_players_normal(self, input: i32) -> Self
Unsigned 32 bit integer.
sourcepub fn set_max_players_normal(self, input: Option<i32>) -> Self
pub fn set_max_players_normal(self, input: Option<i32>) -> Self
Unsigned 32 bit integer.
sourcepub fn max_players_direct(self, input: i32) -> Self
pub fn max_players_direct(self, input: i32) -> Self
Unsigned 32 bit integer.
sourcepub fn set_max_players_direct(self, input: Option<i32>) -> Self
pub fn set_max_players_direct(self, input: Option<i32>) -> Self
Unsigned 32 bit integer.
sourcepub fn max_players_party(self, input: i32) -> Self
pub fn max_players_party(self, input: i32) -> Self
Unsigned 32 bit integer.
sourcepub fn set_max_players_party(self, input: Option<i32>) -> Self
pub fn set_max_players_party(self, input: Option<i32>) -> Self
Unsigned 32 bit integer.
sourcepub fn total_player_count(self, input: i32) -> Self
pub fn total_player_count(self, input: i32) -> Self
Unsigned 32 bit integer.
sourcepub fn set_total_player_count(self, input: Option<i32>) -> Self
pub fn set_total_player_count(self, input: Option<i32>) -> Self
Unsigned 32 bit integer.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more