MCPcopy Create free account
hub / github.com/apache/datafusion / with_argument

Method with_argument

datafusion/doc/src/lib.rs:262–271  ·  view source on GitHub ↗

Adds documentation for a specific argument to the documentation. Arguments are displayed in the order they are added.

(
        mut self,
        arg_name: impl Into<String>,
        arg_description: impl Into<String>,
    )

Source from the content-addressed store, hash-verified

260 ///
261 /// Arguments are displayed in the order they are added.
262 pub fn with_argument(
263 mut self,
264 arg_name: impl Into<String>,
265 arg_description: impl Into<String>,
266 ) -> Self {
267 let mut args = self.arguments.unwrap_or_default();
268 args.push((arg_name.into(), arg_description.into()));
269 self.arguments = Some(args);
270 self
271 }
272
273 /// Add a standard "expression" argument to the documentation
274 ///

Callers 4

monotonicity.rsFile · 0.80
nth_value.rsFile · 0.80
lead_lag.rsFile · 0.80

Calls 2

pushMethod · 0.45
intoMethod · 0.45

Tested by

no test coverage detected