pub struct GeneratedQuest {
pub title: String,
pub quest_type: QuestType,
pub giver: String,
pub description: String,
pub objectives: Vec<QuestObjective>,
pub reward_description: String,
pub difficulty: f32,
pub moral_complexity: f32,
}Fields§
§title: String§quest_type: QuestType§giver: String§description: String§objectives: Vec<QuestObjective>§reward_description: String§difficulty: f32§moral_complexity: f32Trait Implementations§
Source§impl Clone for GeneratedQuest
impl Clone for GeneratedQuest
Source§fn clone(&self) -> GeneratedQuest
fn clone(&self) -> GeneratedQuest
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 moreAuto Trait Implementations§
impl Freeze for GeneratedQuest
impl RefUnwindSafe for GeneratedQuest
impl Send for GeneratedQuest
impl Sync for GeneratedQuest
impl Unpin for GeneratedQuest
impl UnsafeUnpin for GeneratedQuest
impl UnwindSafe for GeneratedQuest
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