pub struct ScoreContent {
pub name: String,
pub objective: String,
}Expand description
Scoreboard value content
Fields§
§name: StringScore holder (player name or selector)
objective: StringObjective name
Trait Implementations§
Source§impl Clone for ScoreContent
impl Clone for ScoreContent
Source§fn clone(&self) -> ScoreContent
fn clone(&self) -> ScoreContent
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 ScoreContent
impl Debug for ScoreContent
Source§impl<'de> Deserialize<'de> for ScoreContent
impl<'de> Deserialize<'de> for ScoreContent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ScoreContent
impl PartialEq for ScoreContent
Source§impl Serialize for ScoreContent
impl Serialize for ScoreContent
impl Eq for ScoreContent
impl StructuralPartialEq for ScoreContent
Auto Trait Implementations§
impl Freeze for ScoreContent
impl RefUnwindSafe for ScoreContent
impl Send for ScoreContent
impl Sync for ScoreContent
impl Unpin for ScoreContent
impl UnwindSafe for ScoreContent
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