MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / with_description

Method with_description

ra-rpc/src/openapi.rs:45–48  ·  view source on GitHub ↗
(mut self, description: impl Into<Cow<'a, str>>)

Source from the content-addressed store, hash-verified

43 }
44
45 pub fn with_description(mut self, description: impl Into<Cow<'a, str>>) -> Self {
46 self.description = Some(description.into());
47 self
48 }
49
50 pub fn add_server(mut self, server: impl Into<Cow<'a, str>>) -> Self {
51 self.servers.push(server.into());

Callers 2

build_openapi_docFunction · 0.80
generates_documentFunction · 0.80

Calls

no outgoing calls

Tested by 1

generates_documentFunction · 0.64