pub struct UpdateScoreSpec {
pub objective_name: String,
pub action: UpdateScoreAction,
}
Fields§
§objective_name: String
§action: UpdateScoreAction
Trait Implementations§
Source§impl Clone for UpdateScoreSpec
impl Clone for UpdateScoreSpec
Source§fn clone(&self) -> UpdateScoreSpec
fn clone(&self) -> UpdateScoreSpec
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 UpdateScoreSpec
impl Debug for UpdateScoreSpec
Source§impl Deserialize for UpdateScoreSpec
impl Deserialize for UpdateScoreSpec
fn mc_deserialize(data: &[u8]) -> DeserializeResult<'_, Self>
Source§impl PartialEq for UpdateScoreSpec
impl PartialEq for UpdateScoreSpec
Source§impl Serialize for UpdateScoreSpec
impl Serialize for UpdateScoreSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for UpdateScoreSpec
Auto Trait Implementations§
impl Freeze for UpdateScoreSpec
impl RefUnwindSafe for UpdateScoreSpec
impl Send for UpdateScoreSpec
impl Sync for UpdateScoreSpec
impl Unpin for UpdateScoreSpec
impl UnwindSafe for UpdateScoreSpec
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