Struct nimble_rust::JoinGameRequest
source · 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
pub fn to_stream(&self, stream: &mut impl WriteOctetStream) -> Result<(), Error>
pub fn from_stream( stream: &mut impl ReadOctetStream, ) -> Result<JoinGameRequest, Error>
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 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
)