pub struct LobbyCreateRequest { /* private fields */ }Implementations§
Source§impl LobbyCreateRequest
impl LobbyCreateRequest
pub fn command_id<T>(self, value: T) -> Self
pub fn data<T>(self, value: T) -> Self
pub fn message_id<T>(self, value: T) -> Self
pub fn type_<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for LobbyCreateRequest
impl Clone for LobbyCreateRequest
Source§fn clone(&self) -> LobbyCreateRequest
fn clone(&self) -> LobbyCreateRequest
Returns a duplicate 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 LobbyCreateRequest
impl Debug for LobbyCreateRequest
Source§impl Default for LobbyCreateRequest
impl Default for LobbyCreateRequest
Source§impl From<LobbyCreateRequest> for LobbyCreateRequest
impl From<LobbyCreateRequest> for LobbyCreateRequest
Source§fn from(value: LobbyCreateRequest) -> Self
fn from(value: LobbyCreateRequest) -> Self
Converts to this type from the input type.
Source§impl TryFrom<LobbyCreateRequest> for LobbyCreateRequest
impl TryFrom<LobbyCreateRequest> for LobbyCreateRequest
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: LobbyCreateRequest) -> Result<Self, ConversionError>
fn try_from(value: LobbyCreateRequest) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for LobbyCreateRequest
impl RefUnwindSafe for LobbyCreateRequest
impl Send for LobbyCreateRequest
impl Sync for LobbyCreateRequest
impl Unpin for LobbyCreateRequest
impl UnsafeUnpin for LobbyCreateRequest
impl UnwindSafe for LobbyCreateRequest
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