pub struct BranchPointId(pub String);Expand description
Branch-point id: branch-point/<kebab> (stage-4 branch_points, DSL v0.8,
spec-0025). One declared fork in the story: the flags it forks on, the quest
it opens at, and the branches it offers.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl Clone for BranchPointId
impl Clone for BranchPointId
Source§fn clone(&self) -> BranchPointId
fn clone(&self) -> BranchPointId
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 Debug for BranchPointId
impl Debug for BranchPointId
Source§impl<'de> Deserialize<'de> for BranchPointId
impl<'de> Deserialize<'de> for BranchPointId
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 Display for BranchPointId
impl Display for BranchPointId
impl Eq for BranchPointId
Source§impl Hash for BranchPointId
impl Hash for BranchPointId
Source§impl JsonSchema for BranchPointId
impl JsonSchema for BranchPointId
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 Ord for BranchPointId
impl Ord for BranchPointId
Source§fn cmp(&self, other: &BranchPointId) -> Ordering
fn cmp(&self, other: &BranchPointId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BranchPointId
impl PartialEq for BranchPointId
Source§impl PartialOrd for BranchPointId
impl PartialOrd for BranchPointId
Source§impl Serialize for BranchPointId
impl Serialize for BranchPointId
impl StructuralPartialEq for BranchPointId
Auto Trait Implementations§
impl Freeze for BranchPointId
impl RefUnwindSafe for BranchPointId
impl Send for BranchPointId
impl Sync for BranchPointId
impl Unpin for BranchPointId
impl UnsafeUnpin for BranchPointId
impl UnwindSafe for BranchPointId
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