Struct DifficultyChangedEvent
pub struct DifficultyChangedEvent<'a> {
pub from: &'a str,
pub to: &'a str,
}Expand description
What Hooks::difficulty_changed is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§from: &'a str§to: &'a strAuto Trait Implementations§
impl<'a> Freeze for DifficultyChangedEvent<'a>
impl<'a> RefUnwindSafe for DifficultyChangedEvent<'a>
impl<'a> Send for DifficultyChangedEvent<'a>
impl<'a> Sync for DifficultyChangedEvent<'a>
impl<'a> Unpin for DifficultyChangedEvent<'a>
impl<'a> UnsafeUnpin for DifficultyChangedEvent<'a>
impl<'a> UnwindSafe for DifficultyChangedEvent<'a>
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