pub struct CompiledRegionGraphV1 {Show 20 fields
pub graph_id: ArtifactId,
pub kind: ArtifactKindV1,
pub graph_kind: RegionGraphKindV1,
pub source_graph_kind: Option<RegionGraphKindV1>,
pub max_region_size: u32,
pub right_graph_law_satisfied: bool,
pub nodes: Vec<RegionNodeV1>,
pub edges: Vec<RegionEdgeV1>,
pub hyperedges: Vec<RegionHyperedgeV1>,
pub factors: Vec<RegionFactorV1>,
pub nuisance_node_ids: Vec<ArtifactId>,
pub boundary_node_ids: Vec<ArtifactId>,
pub regions: Vec<RegionContractV1>,
pub source_claim_ids: Vec<ArtifactId>,
pub source_projection_ids: Vec<ArtifactId>,
pub activation_level: V11ActivationLevelV1,
pub advisory_only: bool,
pub reason_codes: Vec<String>,
pub canonical_backpointers: Vec<CanonicalBackpointerV1>,
pub compiled_at: DateTime<Utc>,
}Fields§
§graph_id: ArtifactId§kind: ArtifactKindV1§graph_kind: RegionGraphKindV1§source_graph_kind: Option<RegionGraphKindV1>§max_region_size: u32§right_graph_law_satisfied: bool§nodes: Vec<RegionNodeV1>§edges: Vec<RegionEdgeV1>§hyperedges: Vec<RegionHyperedgeV1>§factors: Vec<RegionFactorV1>§nuisance_node_ids: Vec<ArtifactId>§boundary_node_ids: Vec<ArtifactId>§regions: Vec<RegionContractV1>§source_claim_ids: Vec<ArtifactId>§source_projection_ids: Vec<ArtifactId>§activation_level: V11ActivationLevelV1§advisory_only: bool§reason_codes: Vec<String>§canonical_backpointers: Vec<CanonicalBackpointerV1>§compiled_at: DateTime<Utc>Implementations§
Source§impl CompiledRegionGraphV1
impl CompiledRegionGraphV1
pub fn new( graph_id: ArtifactId, graph_kind: RegionGraphKindV1, source_graph_kind: Option<RegionGraphKindV1>, max_region_size: u32, nodes: Vec<RegionNodeV1>, edges: Vec<RegionEdgeV1>, hyperedges: Vec<RegionHyperedgeV1>, factors: Vec<RegionFactorV1>, nuisance_node_ids: Vec<ArtifactId>, boundary_node_ids: Vec<ArtifactId>, regions: Vec<RegionContractV1>, source_claim_ids: Vec<ArtifactId>, source_projection_ids: Vec<ArtifactId>, ) -> Self
pub fn is_bounded_region_graph(&self) -> bool
pub fn can_claim_active_v11b_runtime(&self) -> bool
Trait Implementations§
Source§impl Clone for CompiledRegionGraphV1
impl Clone for CompiledRegionGraphV1
Source§fn clone(&self) -> CompiledRegionGraphV1
fn clone(&self) -> CompiledRegionGraphV1
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 CompiledRegionGraphV1
impl Debug for CompiledRegionGraphV1
Source§impl<'de> Deserialize<'de> for CompiledRegionGraphV1
impl<'de> Deserialize<'de> for CompiledRegionGraphV1
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 CompiledRegionGraphV1
impl JsonSchema for CompiledRegionGraphV1
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
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 is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for CompiledRegionGraphV1
impl PartialEq for CompiledRegionGraphV1
Source§fn eq(&self, other: &CompiledRegionGraphV1) -> bool
fn eq(&self, other: &CompiledRegionGraphV1) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CompiledRegionGraphV1
impl Serialize for CompiledRegionGraphV1
impl StructuralPartialEq for CompiledRegionGraphV1
Auto Trait Implementations§
impl Freeze for CompiledRegionGraphV1
impl RefUnwindSafe for CompiledRegionGraphV1
impl Send for CompiledRegionGraphV1
impl Sync for CompiledRegionGraphV1
impl Unpin for CompiledRegionGraphV1
impl UnsafeUnpin for CompiledRegionGraphV1
impl UnwindSafe for CompiledRegionGraphV1
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