pub struct Guidance {
pub markers: Visibility,
pub announcements: Visibility,
}Expand description
The campaign’s guidance defaults (spec-0093): what an objective gets when it
states no marker or announcement of its own.
Two values, both defaulting to shown, so a document that omits the block
is the document every campaign already was. The objective’s own field wins
over the campaign’s; there is no third level, because a quest is where a
beat is booked and not the object a lantern hangs over.
Fields§
§markers: VisibilityThe default for every interact (without a prop) and reach-anchor
objective’s glowing marker.
announcements: VisibilityThe default for every objective’s announcement — the New objective
line, the hint’s line, the cue sound and the Objective complete line.
Implementations§
Trait Implementations§
impl Copy for Guidance
Source§impl<'de> Deserialize<'de> for Guidance
impl<'de> Deserialize<'de> for Guidance
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 Guidance
Source§impl JsonSchema for Guidance
impl JsonSchema for Guidance
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 Guidance
Auto Trait Implementations§
impl Freeze for Guidance
impl RefUnwindSafe for Guidance
impl Send for Guidance
impl Sync for Guidance
impl Unpin for Guidance
impl UnsafeUnpin for Guidance
impl UnwindSafe for Guidance
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