pub struct CreateFunctionBuilder { /* private fields */ }Expand description
Builder for creating a function
Implementations§
Source§impl CreateFunctionBuilder
impl CreateFunctionBuilder
Sourcepub fn with_input_params(
self,
input_params: impl Into<Option<FunctionParameterInfos>>,
) -> Self
pub fn with_input_params( self, input_params: impl Into<Option<FunctionParameterInfos>>, ) -> Self
The array of function parameter infos.
Sourcepub fn with_routine_definition(
self,
routine_definition: impl Into<Option<String>>,
) -> Self
pub fn with_routine_definition( self, routine_definition: impl Into<Option<String>>, ) -> Self
Function body.
Sourcepub fn with_routine_body_language(
self,
routine_body_language: impl Into<Option<String>>,
) -> Self
pub fn with_routine_body_language( self, routine_body_language: impl Into<Option<String>>, ) -> Self
The language of the function routine body.
Sourcepub fn with_comment(self, comment: impl Into<Option<String>>) -> Self
pub fn with_comment(self, comment: impl Into<Option<String>>) -> Self
User-provided free-form text description.
Sourcepub fn with_properties<I, K, V>(self, properties: I) -> Self
pub fn with_properties<I, K, V>(self, properties: I) -> Self
A map of key-value properties attached to the securable.
Trait Implementations§
Source§impl IntoFuture for CreateFunctionBuilder
impl IntoFuture for CreateFunctionBuilder
Source§type IntoFuture = Pin<Box<dyn Future<Output = <CreateFunctionBuilder as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <CreateFunctionBuilder as IntoFuture>::Output> + Send>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for CreateFunctionBuilder
impl !UnwindSafe for CreateFunctionBuilder
impl Freeze for CreateFunctionBuilder
impl Send for CreateFunctionBuilder
impl Sync for CreateFunctionBuilder
impl Unpin for CreateFunctionBuilder
impl UnsafeUnpin for CreateFunctionBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more