pub struct SupportWalk {
pub relationships: Vec<String>,
pub direction: ReachDirection,
pub terminal_types: Vec<String>,
}Expand description
The support walk of a labelling declaration — same grammar as a
must_reach block: an inline relation set, a walk direction, and
the terminal types that count as ground.
Fields§
§relationships: Vec<String>§direction: ReachDirectionout follows edges pointing away from the walked entity, in
follows edges pointing at it — the must_reach vocabulary.
terminal_types: Vec<String>Trait Implementations§
Source§impl Clone for SupportWalk
impl Clone for SupportWalk
Source§fn clone(&self) -> SupportWalk
fn clone(&self) -> SupportWalk
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 SupportWalk
impl Debug for SupportWalk
Source§impl<'de> Deserialize<'de> for SupportWalk
impl<'de> Deserialize<'de> for SupportWalk
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 SupportWalk
impl JsonSchema for SupportWalk
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 SupportWalk
impl PartialEq for SupportWalk
Source§impl Serialize for SupportWalk
impl Serialize for SupportWalk
impl StructuralPartialEq for SupportWalk
Auto Trait Implementations§
impl Freeze for SupportWalk
impl RefUnwindSafe for SupportWalk
impl Send for SupportWalk
impl Sync for SupportWalk
impl Unpin for SupportWalk
impl UnsafeUnpin for SupportWalk
impl UnwindSafe for SupportWalk
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