pub struct ReferentialRewrite {
pub relation: String,
pub columns: Vec<String>,
}Expand description
The referential action of a foreign key that rewrites a row of its table, which PostgreSQL performs as a statement of its own.
Fields§
§relation: StringThe table of the foreign key, which the action’s statement names.
columns: Vec<String>The columns the action sets.
Trait Implementations§
Source§impl Clone for ReferentialRewrite
impl Clone for ReferentialRewrite
Source§impl Debug for ReferentialRewrite
impl Debug for ReferentialRewrite
Source§impl PartialEq for ReferentialRewrite
impl PartialEq for ReferentialRewrite
impl StructuralPartialEq for ReferentialRewrite
Auto Trait Implementations§
impl Freeze for ReferentialRewrite
impl RefUnwindSafe for ReferentialRewrite
impl Send for ReferentialRewrite
impl Sync for ReferentialRewrite
impl Unpin for ReferentialRewrite
impl UnsafeUnpin for ReferentialRewrite
impl UnwindSafe for ReferentialRewrite
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more