#[non_exhaustive]pub struct StoredProcedureEntity {
pub sql_code: String,
pub custom_features: Option<Struct>,
/* private fields */
}Expand description
Stored procedure’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 stored procedure.
custom_features: Option<Struct>Custom engine specific features.
Implementations§
Source§impl StoredProcedureEntity
impl StoredProcedureEntity
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 StoredProcedureEntity
impl Clone for StoredProcedureEntity
Source§fn clone(&self) -> StoredProcedureEntity
fn clone(&self) -> StoredProcedureEntity
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 StoredProcedureEntity
impl Debug for StoredProcedureEntity
Source§impl Default for StoredProcedureEntity
impl Default for StoredProcedureEntity
Source§fn default() -> StoredProcedureEntity
fn default() -> StoredProcedureEntity
Returns the “default value” for a type. Read more
Source§impl Message for StoredProcedureEntity
impl Message for StoredProcedureEntity
Source§impl PartialEq for StoredProcedureEntity
impl PartialEq for StoredProcedureEntity
impl StructuralPartialEq for StoredProcedureEntity
Auto Trait Implementations§
impl Freeze for StoredProcedureEntity
impl RefUnwindSafe for StoredProcedureEntity
impl Send for StoredProcedureEntity
impl Sync for StoredProcedureEntity
impl Unpin for StoredProcedureEntity
impl UnwindSafe for StoredProcedureEntity
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