pub struct EncounterPlan {
pub name: String,
pub monsters: Vec<PlannedMonster>,
pub party: Vec<Uuid>,
pub notes: String,
}Expand description
A fight planned ahead: its monsters, who of the party it’s for, and notes.
Fields§
§name: String§monsters: Vec<PlannedMonster>§party: Vec<Uuid>The characters it’s balanced for; empty means the whole party.
notes: StringImplementations§
Source§impl EncounterPlan
impl EncounterPlan
Trait Implementations§
Source§impl Clone for EncounterPlan
impl Clone for EncounterPlan
Source§fn clone(&self) -> EncounterPlan
fn clone(&self) -> EncounterPlan
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 ComposeSchema for EncounterPlan
impl ComposeSchema for EncounterPlan
Source§impl Debug for EncounterPlan
impl Debug for EncounterPlan
Source§impl Default for EncounterPlan
impl Default for EncounterPlan
Source§fn default() -> EncounterPlan
fn default() -> EncounterPlan
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EncounterPlanwhere
EncounterPlan: Default,
impl<'de> Deserialize<'de> for EncounterPlanwhere
EncounterPlan: Default,
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 EncounterPlan
impl PartialEq for EncounterPlan
Source§fn eq(&self, other: &EncounterPlan) -> bool
fn eq(&self, other: &EncounterPlan) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EncounterPlan
impl Serialize for EncounterPlan
Source§impl ToSchema for EncounterPlan
impl ToSchema for EncounterPlan
impl Eq for EncounterPlan
impl StructuralPartialEq for EncounterPlan
Auto Trait Implementations§
impl Freeze for EncounterPlan
impl RefUnwindSafe for EncounterPlan
impl Send for EncounterPlan
impl Sync for EncounterPlan
impl Unpin for EncounterPlan
impl UnsafeUnpin for EncounterPlan
impl UnwindSafe for EncounterPlan
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.