pub struct JoinGameRequest {
pub client_request_id: ClientRequestId,
pub join_game_type: JoinGameType,
pub player_requests: JoinPlayerRequests,
}
Fields§
§client_request_id: ClientRequestId
§join_game_type: JoinGameType
§player_requests: JoinPlayerRequests
Implementations§
source§impl JoinGameRequest
impl JoinGameRequest
sourcepub fn to_stream(&self, stream: &mut impl WriteOctetStream) -> Result<()>
pub fn to_stream(&self, stream: &mut impl WriteOctetStream) -> Result<()>
§Errors
io::Error
// TODO:
sourcepub fn from_stream(stream: &mut impl ReadOctetStream) -> Result<Self>
pub fn from_stream(stream: &mut impl ReadOctetStream) -> Result<Self>
§Errors
io::Error
// TODO:
Trait Implementations§
source§impl Clone for JoinGameRequest
impl Clone for JoinGameRequest
source§fn clone(&self) -> JoinGameRequest
fn clone(&self) -> JoinGameRequest
Returns a copy 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 JoinGameRequest
impl Debug for JoinGameRequest
source§impl PartialEq for JoinGameRequest
impl PartialEq for JoinGameRequest
impl Eq for JoinGameRequest
impl StructuralPartialEq for JoinGameRequest
Auto Trait Implementations§
impl Freeze for JoinGameRequest
impl RefUnwindSafe for JoinGameRequest
impl Send for JoinGameRequest
impl Sync for JoinGameRequest
impl Unpin for JoinGameRequest
impl UnwindSafe for JoinGameRequest
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)