MCPcopy Index your code
hub / github.com/github/copilot-sdk / rustMapType

Function rustMapType

scripts/codegen/rust.ts:514–520  ·  view source on GitHub ↗
(
	schema: JSONSchema7,
	parentTypeName: string,
	ctx: RustCodegenCtx,
)

Source from the content-addressed store, hash-verified

512}
513
514function rustMapType(
515 schema: JSONSchema7,
516 parentTypeName: string,
517 ctx: RustCodegenCtx,
518): string {
519 return `HashMap<String, ${rustMapValueType(schema, parentTypeName, ctx)}>`;
520}
521
522function emitRustTypeAlias(
523 typeName: string,

Callers 2

emitRustMapAliasFunction · 0.85
resolveRustTypeFunction · 0.85

Calls 1

rustMapValueTypeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…