pub enum EffectAudience {
Party,
Actor,
}Expand description
Who a player-facing effect addresses (spec-0085 §3.2).
Variants§
Party
Every player — @a.
Actor
The one player whose act fired the root — the completing player, the
presser, the dying or respawning player, the buyer, the credited killer.
Emitted @s, so it exists only where emission has an acting player
(DW0503).
Implementations§
Trait Implementations§
Source§impl Clone for EffectAudience
impl Clone for EffectAudience
impl Copy for EffectAudience
Source§impl Debug for EffectAudience
impl Debug for EffectAudience
Source§impl<'de> Deserialize<'de> for EffectAudience
impl<'de> Deserialize<'de> for EffectAudience
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 EffectAudience
Source§impl JsonSchema for EffectAudience
impl JsonSchema for EffectAudience
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 moreSource§impl PartialEq for EffectAudience
impl PartialEq for EffectAudience
Source§impl Serialize for EffectAudience
impl Serialize for EffectAudience
impl StructuralPartialEq for EffectAudience
Auto Trait Implementations§
impl Freeze for EffectAudience
impl RefUnwindSafe for EffectAudience
impl Send for EffectAudience
impl Sync for EffectAudience
impl Unpin for EffectAudience
impl UnsafeUnpin for EffectAudience
impl UnwindSafe for EffectAudience
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