pub struct LikeOptions {
pub defaults: bool,
pub constraints: bool,
pub identity: bool,
pub generated: bool,
pub indexes: bool,
pub comments: bool,
}Expand description
Which properties LIKE carries over. A bare LIKE copies names,
types and NOT NULL and nothing else — measured on PG18, where a
copied generated column becomes a plain one and a copied identity
column loses its identity.
Fields§
§defaults: bool§constraints: bool§identity: bool§generated: bool§indexes: bool§comments: boolTrait Implementations§
Source§impl Clone for LikeOptions
impl Clone for LikeOptions
Source§fn clone(&self) -> LikeOptions
fn clone(&self) -> LikeOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LikeOptions
Source§impl Debug for LikeOptions
impl Debug for LikeOptions
Source§impl Default for LikeOptions
impl Default for LikeOptions
Source§fn default() -> LikeOptions
fn default() -> LikeOptions
Returns the “default value” for a type. Read more
impl Eq for LikeOptions
Source§impl PartialEq for LikeOptions
impl PartialEq for LikeOptions
impl StructuralPartialEq for LikeOptions
Auto Trait Implementations§
impl Freeze for LikeOptions
impl RefUnwindSafe for LikeOptions
impl Send for LikeOptions
impl Sync for LikeOptions
impl Unpin for LikeOptions
impl UnsafeUnpin for LikeOptions
impl UnwindSafe for LikeOptions
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