pub struct ClearSavedGameEvent {
pub name: String,
pub fid: String,
}
Expand description
Fired when the player clear their save, deleting all progress.
Fields§
§name: String
The name of the player.
fid: String
The Frontier id for the player.
Trait Implementations§
Source§impl Clone for ClearSavedGameEvent
impl Clone for ClearSavedGameEvent
Source§fn clone(&self) -> ClearSavedGameEvent
fn clone(&self) -> ClearSavedGameEvent
Returns a copy 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 ClearSavedGameEvent
impl Debug for ClearSavedGameEvent
Source§impl<'de> Deserialize<'de> for ClearSavedGameEvent
impl<'de> Deserialize<'de> for ClearSavedGameEvent
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 ClearSavedGameEvent
impl PartialEq for ClearSavedGameEvent
Source§impl Serialize for ClearSavedGameEvent
impl Serialize for ClearSavedGameEvent
impl StructuralPartialEq for ClearSavedGameEvent
Auto Trait Implementations§
impl Freeze for ClearSavedGameEvent
impl RefUnwindSafe for ClearSavedGameEvent
impl Send for ClearSavedGameEvent
impl Sync for ClearSavedGameEvent
impl Unpin for ClearSavedGameEvent
impl UnwindSafe for ClearSavedGameEvent
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