pub struct EdgeGating {
pub flags: Vec<FlagId>,
pub quest: Option<QuestId>,
}Expand description
What a body must already hold for a connection to be passable.
A projection of the campaign’s runtime gating into topology, not the
campaign’s Gate — see the module docs for why the two
are deliberately different objects, and for why this one carries no negative
flag term and no numeric comparison.
Fields§
§flags: Vec<FlagId>Flags a body must already have, each one some set-flag effect really
produces (DW0818).
quest: Option<QuestId>A quest that must already be complete.
Implementations§
Trait Implementations§
Source§impl Clone for EdgeGating
impl Clone for EdgeGating
Source§fn clone(&self) -> EdgeGating
fn clone(&self) -> EdgeGating
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 EdgeGating
impl Debug for EdgeGating
Source§impl Default for EdgeGating
impl Default for EdgeGating
Source§fn default() -> EdgeGating
fn default() -> EdgeGating
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EdgeGating
impl<'de> Deserialize<'de> for EdgeGating
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 EdgeGating
impl JsonSchema for EdgeGating
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 EdgeGating
impl PartialEq for EdgeGating
Source§impl Serialize for EdgeGating
impl Serialize for EdgeGating
impl StructuralPartialEq for EdgeGating
Auto Trait Implementations§
impl Freeze for EdgeGating
impl RefUnwindSafe for EdgeGating
impl Send for EdgeGating
impl Sync for EdgeGating
impl Unpin for EdgeGating
impl UnsafeUnpin for EdgeGating
impl UnwindSafe for EdgeGating
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