pub enum ExpeditionSetting {
PreferExpeditions,
PreferQuests,
}
Expand description
This is the “Questing instead of expeditions” value in the settings
Variants§
PreferExpeditions
When expeditions are available, this setting will enable expeditions to be started. This will disable questing, until either this setting is disabled, or expeditions have ended. Trying to start a quest with this setting set will return an error
PreferQuests
When expeditions are available, they will be ignored, until either this setting is disabled, or expeditions have ended. Starting an expedition with this setting set will error
Trait Implementations§
Source§impl Clone for ExpeditionSetting
impl Clone for ExpeditionSetting
Source§fn clone(&self) -> ExpeditionSetting
fn clone(&self) -> ExpeditionSetting
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 ExpeditionSetting
impl Debug for ExpeditionSetting
Source§impl Default for ExpeditionSetting
impl Default for ExpeditionSetting
Source§fn default() -> ExpeditionSetting
fn default() -> ExpeditionSetting
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExpeditionSetting
impl<'de> Deserialize<'de> for ExpeditionSetting
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 ExpeditionSetting
impl PartialEq for ExpeditionSetting
Source§impl Serialize for ExpeditionSetting
impl Serialize for ExpeditionSetting
impl Copy for ExpeditionSetting
impl Eq for ExpeditionSetting
impl StructuralPartialEq for ExpeditionSetting
Auto Trait Implementations§
impl Freeze for ExpeditionSetting
impl RefUnwindSafe for ExpeditionSetting
impl Send for ExpeditionSetting
impl Sync for ExpeditionSetting
impl Unpin for ExpeditionSetting
impl UnwindSafe for ExpeditionSetting
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.