pub struct PlayTeamsSpec {
pub team_name: String,
pub action: TeamAction,
}Fields§
§team_name: String§action: TeamActionTrait Implementations§
Source§impl Clone for PlayTeamsSpec
impl Clone for PlayTeamsSpec
Source§fn clone(&self) -> PlayTeamsSpec
fn clone(&self) -> PlayTeamsSpec
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 PlayTeamsSpec
impl Debug for PlayTeamsSpec
Source§impl Deserialize for PlayTeamsSpec
impl Deserialize for PlayTeamsSpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<(String, TeamAction)> for PlayTeamsSpec
impl From<(String, TeamAction)> for PlayTeamsSpec
Source§fn from(other: (String, TeamAction)) -> Self
fn from(other: (String, TeamAction)) -> Self
Converts to this type from the input type.
Source§impl From<PlayTeamsSpec> for (String, TeamAction)
impl From<PlayTeamsSpec> for (String, TeamAction)
Source§fn from(other: PlayTeamsSpec) -> Self
fn from(other: PlayTeamsSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PlayTeamsSpec
impl PartialEq for PlayTeamsSpec
Source§impl Serialize for PlayTeamsSpec
impl Serialize for PlayTeamsSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for PlayTeamsSpec
Auto Trait Implementations§
impl Freeze for PlayTeamsSpec
impl RefUnwindSafe for PlayTeamsSpec
impl Send for PlayTeamsSpec
impl Sync for PlayTeamsSpec
impl Unpin for PlayTeamsSpec
impl UnwindSafe for PlayTeamsSpec
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