MCPcopy Create free account
hub / github.com/hashintel/hash / into_parts

Method into_parts

libs/@local/graph/api/src/rest/entity_query_request.rs:599–608  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

597
598 #[must_use]
599 pub fn into_parts(self) -> (EntityQuery<'q>, EntityQueryOptions<'s, 'p>) {
600 match self {
601 QueryEntitiesRequest::Query { query, options } => {
602 (EntityQuery::Query { query }, options)
603 }
604 QueryEntitiesRequest::Filter { filter, options } => {
605 (EntityQuery::Filter { filter }, options)
606 }
607 }
608 }
609}
610
611#[derive(Debug, Copy, Clone, PartialEq, Eq, derive_more::Display, derive_more::From)]

Callers 2

query_entitiesFunction · 0.45
query_entity_subgraphFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected