#[non_exhaustive]pub struct FunctionEntity {
pub sql_code: String,
pub custom_features: Option<Struct>,
/* private fields */
}Expand description
Function’s parent is a schema.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.sql_code: StringThe SQL code which creates the function.
custom_features: Option<Struct>Custom engine specific features.
Implementations§
Source§impl FunctionEntity
impl FunctionEntity
pub fn new() -> Self
Sourcepub fn set_sql_code<T: Into<String>>(self, v: T) -> Self
pub fn set_sql_code<T: Into<String>>(self, v: T) -> Self
Sets the value of sql_code.
Sourcepub fn set_custom_features<T>(self, v: T) -> Self
pub fn set_custom_features<T>(self, v: T) -> Self
Sets the value of custom_features.
Sourcepub fn set_or_clear_custom_features<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_custom_features<T>(self, v: Option<T>) -> Self
Sets or clears the value of custom_features.
Trait Implementations§
Source§impl Clone for FunctionEntity
impl Clone for FunctionEntity
Source§fn clone(&self) -> FunctionEntity
fn clone(&self) -> FunctionEntity
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FunctionEntity
impl Debug for FunctionEntity
Source§impl Default for FunctionEntity
impl Default for FunctionEntity
Source§fn default() -> FunctionEntity
fn default() -> FunctionEntity
Returns the “default value” for a type. Read more
Source§impl Message for FunctionEntity
impl Message for FunctionEntity
Source§impl PartialEq for FunctionEntity
impl PartialEq for FunctionEntity
impl StructuralPartialEq for FunctionEntity
Auto Trait Implementations§
impl Freeze for FunctionEntity
impl RefUnwindSafe for FunctionEntity
impl Send for FunctionEntity
impl Sync for FunctionEntity
impl Unpin for FunctionEntity
impl UnwindSafe for FunctionEntity
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