#[non_exhaustive]pub struct UDTEntity {
pub udt_sql_code: String,
pub udt_body: String,
pub custom_features: Option<Struct>,
/* private fields */
}Expand description
UDT’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.udt_sql_code: StringThe SQL code which creates the udt.
udt_body: StringThe SQL code which creates the udt body.
custom_features: Option<Struct>Custom engine specific features.
Implementations§
Source§impl UDTEntity
impl UDTEntity
pub fn new() -> Self
Sourcepub fn set_udt_sql_code<T: Into<String>>(self, v: T) -> Self
pub fn set_udt_sql_code<T: Into<String>>(self, v: T) -> Self
Sets the value of udt_sql_code.
Sourcepub fn set_udt_body<T: Into<String>>(self, v: T) -> Self
pub fn set_udt_body<T: Into<String>>(self, v: T) -> Self
Sets the value of udt_body.
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§
impl StructuralPartialEq for UDTEntity
Auto Trait Implementations§
impl Freeze for UDTEntity
impl RefUnwindSafe for UDTEntity
impl Send for UDTEntity
impl Sync for UDTEntity
impl Unpin for UDTEntity
impl UnwindSafe for UDTEntity
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