pub enum CastDialogue {
Keyword(CastDialogueKeyword),
Barks(CastBarks),
Root(DialogueId),
}Expand description
What an NPC’s right-click offers for a quest’s duration.
Untagged, tried in order: the keywords "none" / "unchanged", a
{"barks": […]} pool, then a dialogue root id.
Variants§
Keyword(CastDialogueKeyword)
A keyword: "none" or "unchanged".
Barks(CastBarks)
A bark pool: right-click yields one inconsequential in-character line — no tree, no options, no consequences.
Root(DialogueId)
A dialogue root id: right-click opens this node of the NPC’s stage-6
tree. Must be a node of that NPC’s tree (DW0464).
Trait Implementations§
Source§impl Clone for CastDialogue
impl Clone for CastDialogue
Source§impl Debug for CastDialogue
impl Debug for CastDialogue
Source§impl<'de> Deserialize<'de> for CastDialogue
impl<'de> Deserialize<'de> for CastDialogue
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 JsonSchema for CastDialogue
impl JsonSchema for CastDialogue
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 CastDialogue
impl PartialEq for CastDialogue
Source§impl Serialize for CastDialogue
impl Serialize for CastDialogue
impl StructuralPartialEq for CastDialogue
Auto Trait Implementations§
impl Freeze for CastDialogue
impl RefUnwindSafe for CastDialogue
impl Send for CastDialogue
impl Sync for CastDialogue
impl Unpin for CastDialogue
impl UnsafeUnpin for CastDialogue
impl UnwindSafe for CastDialogue
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