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