pub struct MonstersExport {
pub monsters: Vec<Monster>,
pub spells: Vec<Entry<SpellText>>,
pub conditions: Vec<Entry<ConditionText>>,
}Expand description
The monster service’s part of a campaign: its own monsters, spells and conditions.
Fields§
§monsters: Vec<Monster>§spells: Vec<Entry<SpellText>>§conditions: Vec<Entry<ConditionText>>Trait Implementations§
Source§impl Clone for MonstersExport
impl Clone for MonstersExport
Source§fn clone(&self) -> MonstersExport
fn clone(&self) -> MonstersExport
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 MonstersExport
impl ComposeSchema for MonstersExport
Source§impl Debug for MonstersExport
impl Debug for MonstersExport
Source§impl Default for MonstersExport
impl Default for MonstersExport
Source§fn default() -> MonstersExport
fn default() -> MonstersExport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MonstersExport
impl<'de> Deserialize<'de> for MonstersExport
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 MonstersExport
impl PartialEq for MonstersExport
Source§fn eq(&self, other: &MonstersExport) -> bool
fn eq(&self, other: &MonstersExport) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MonstersExport
impl Serialize for MonstersExport
Source§impl ToSchema for MonstersExport
impl ToSchema for MonstersExport
impl StructuralPartialEq for MonstersExport
Auto Trait Implementations§
impl Freeze for MonstersExport
impl RefUnwindSafe for MonstersExport
impl Send for MonstersExport
impl Sync for MonstersExport
impl Unpin for MonstersExport
impl UnsafeUnpin for MonstersExport
impl UnwindSafe for MonstersExport
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