pub struct QuestLogEntry {Show 13 fields
pub quest_id: String,
pub title: String,
pub description: String,
pub status: QuestStatusView,
pub current_step_id: Option<String>,
pub current_step_title: String,
pub current_step_index: u32,
pub objectives: Vec<QuestObjectiveProgress>,
pub current_step_reward: QuestRewardView,
pub completion_reward: QuestRewardView,
pub steps: Vec<QuestStepView>,
pub is_tracked: bool,
pub can_withdraw: bool,
}Fields§
§quest_id: String§title: String§description: String§status: QuestStatusView§current_step_id: Option<String>§current_step_title: String§current_step_index: u32§objectives: Vec<QuestObjectiveProgress>§current_step_reward: QuestRewardViewReward granted when the current step completes (active quests).
completion_reward: QuestRewardViewReward on the final step (quest completion prize).
steps: Vec<QuestStepView>Full step list with per-step rewards for the journal.
is_tracked: bool§can_withdraw: boolTrait Implementations§
Source§impl Clone for QuestLogEntry
impl Clone for QuestLogEntry
Source§fn clone(&self) -> QuestLogEntry
fn clone(&self) -> QuestLogEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 QuestLogEntry
impl Debug for QuestLogEntry
Source§impl<'de> Deserialize<'de> for QuestLogEntry
impl<'de> Deserialize<'de> for QuestLogEntry
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 QuestLogEntry
impl PartialEq for QuestLogEntry
Source§impl Serialize for QuestLogEntry
impl Serialize for QuestLogEntry
impl StructuralPartialEq for QuestLogEntry
Auto Trait Implementations§
impl Freeze for QuestLogEntry
impl RefUnwindSafe for QuestLogEntry
impl Send for QuestLogEntry
impl Sync for QuestLogEntry
impl Unpin for QuestLogEntry
impl UnsafeUnpin for QuestLogEntry
impl UnwindSafe for QuestLogEntry
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