pub struct PlayServerWindowConfirmationSpec {
pub window_id: u8,
pub action_number: i16,
pub accepted: bool,
}
Fields§
§window_id: u8
§action_number: i16
§accepted: bool
Trait Implementations§
Source§impl Clone for PlayServerWindowConfirmationSpec
impl Clone for PlayServerWindowConfirmationSpec
Source§fn clone(&self) -> PlayServerWindowConfirmationSpec
fn clone(&self) -> PlayServerWindowConfirmationSpec
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 Deserialize for PlayServerWindowConfirmationSpec
impl Deserialize for PlayServerWindowConfirmationSpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<PlayServerWindowConfirmationSpec> for (u8, i16, bool)
impl From<PlayServerWindowConfirmationSpec> for (u8, i16, bool)
Source§fn from(other: PlayServerWindowConfirmationSpec) -> Self
fn from(other: PlayServerWindowConfirmationSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PlayServerWindowConfirmationSpec
impl PartialEq for PlayServerWindowConfirmationSpec
Source§fn eq(&self, other: &PlayServerWindowConfirmationSpec) -> bool
fn eq(&self, other: &PlayServerWindowConfirmationSpec) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for PlayServerWindowConfirmationSpec
impl Serialize for PlayServerWindowConfirmationSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for PlayServerWindowConfirmationSpec
Auto Trait Implementations§
impl Freeze for PlayServerWindowConfirmationSpec
impl RefUnwindSafe for PlayServerWindowConfirmationSpec
impl Send for PlayServerWindowConfirmationSpec
impl Sync for PlayServerWindowConfirmationSpec
impl Unpin for PlayServerWindowConfirmationSpec
impl UnwindSafe for PlayServerWindowConfirmationSpec
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