pub struct Function {
pub name: String,
pub schema: String,
pub parameters: Vec<FunctionParam>,
pub return_type: DataType,
pub body: FunctionBody,
pub deterministic: bool,
pub sql_security: SqlSecurity,
pub comment: Option<String>,
pub language: String,
}Expand description
Function - Stored function (SQL:1999 Feature P001)
Fields§
§name: String§schema: String§parameters: Vec<FunctionParam>§return_type: DataType§body: FunctionBody§deterministic: bool§sql_security: SqlSecurity§comment: Option<String>§language: StringImplementations§
Source§impl Function
impl Function
pub fn new( name: String, schema: String, parameters: Vec<FunctionParam>, return_type: DataType, body: FunctionBody, ) -> Self
pub fn with_characteristics( name: String, schema: String, parameters: Vec<FunctionParam>, return_type: DataType, body: FunctionBody, deterministic: bool, sql_security: SqlSecurity, comment: Option<String>, language: String, ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Function
impl RefUnwindSafe for Function
impl Send for Function
impl Sync for Function
impl Unpin for Function
impl UnwindSafe for Function
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