MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / new

Method new

sdk-rust/src/result.rs:46–48  ·  view source on GitHub ↗

Create a new TypedResult from a QueryResult

(result: QueryResult)

Source from the content-addressed store, hash-verified

44impl TypedResult {
45 /// Create a new TypedResult from a QueryResult
46 pub fn new(result: QueryResult) -> Self {
47 TypedResult { inner: result }
48 }
49
50 /// Get the underlying QueryResult
51 pub fn inner(&self) -> &QueryResult {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected