pub enum Carrier {
All,
One,
}Expand description
Who a granted item goes to (DSL v0.6, spec-0018).
Progression is a fact about the party, so the default for every give-item and
every class-kit entry is all: a quest beat that arms the party arms all of
it. one is the deliberate exception for a single quest prop (the wine-skin,
the stake): exactly one copy enters the party, handed to the player whose action
earned it, and the party passes it around physically.
Variants§
All
Every party member receives the item (the default).
One
Exactly one copy, to the player whose action fired the effect.
Trait Implementations§
impl Copy for Carrier
Source§impl<'de> Deserialize<'de> for Carrier
impl<'de> Deserialize<'de> for Carrier
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
impl Eq for Carrier
Source§impl JsonSchema for Carrier
impl JsonSchema for Carrier
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for Carrier
Auto Trait Implementations§
impl Freeze for Carrier
impl RefUnwindSafe for Carrier
impl Send for Carrier
impl Sync for Carrier
impl Unpin for Carrier
impl UnsafeUnpin for Carrier
impl UnwindSafe for Carrier
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