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

Function emitRustMapAlias

scripts/codegen/rust.ts:562–576  ·  view source on GitHub ↗
(
	typeName: string,
	schema: JSONSchema7,
	ctx: RustCodegenCtx,
	description?: string,
)

Source from the content-addressed store, hash-verified

560}
561
562function emitRustMapAlias(
563 typeName: string,
564 schema: JSONSchema7,
565 ctx: RustCodegenCtx,
566 description?: string,
567): void {
568 if (ctx.generatedNames.has(typeName)) return;
569 emitRustTypeAlias(
570 typeName,
571 schema,
572 rustMapType(schema, typeName, ctx),
573 ctx,
574 description,
575 );
576}
577
578function rustRpcResultDescription(
579 method: RpcMethod,

Callers 1

generateApiTypesCodeFunction · 0.85

Calls 2

emitRustTypeAliasFunction · 0.85
rustMapTypeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…