addRustApp
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addRustApp( name: string, appDirectory: string): RustAppResource;}Signature
method
addRustApp builderAdds a Rust application to the application model.
addRustApp( name: string, appDirectory: string): RustAppResourceParameters
namestringThe name of the resource.appDirectory stringThe working directory for cargo and the Docker build context used when publishing.Returns
RustAppResource Applies to
This method applies to the following types: