pub struct LikeSpec {
pub source: String,
pub at: usize,
pub options: LikeOptions,
}Expand description
v7.39 (round 531) — LIKE <table> [ {INCLUDING|EXCLUDING} <opt> ]*
inside a CREATE TABLE column list.
The source table’s shape can only be read from the catalog, so the
parser records the clause and the engine expands it. at is how many
explicit columns preceded it: PG keeps the written order, so
CREATE TABLE k (x int, LIKE t) puts x first.
Fields§
§source: String§at: usize§options: LikeOptionsTrait Implementations§
impl StructuralPartialEq for LikeSpec
Auto Trait Implementations§
impl Freeze for LikeSpec
impl RefUnwindSafe for LikeSpec
impl Send for LikeSpec
impl Sync for LikeSpec
impl Unpin for LikeSpec
impl UnsafeUnpin for LikeSpec
impl UnwindSafe for LikeSpec
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