pub struct NewRule {
pub name: String,
pub relation: u32,
pub event: u8,
pub instead: bool,
pub qualified: bool,
pub text: String,
pub path: Vec<u32>,
}Expand description
The facts of a new rule for Catalog::create_rule.
Fields§
§name: StringThe name.
relation: u32The OID of the relation.
event: u8ev_type.
instead: boolis_instead.
qualified: boolTrue when the rule has a condition of WHERE.
text: StringThe text of the statement.
path: Vec<u32>The schemas of search_path.
Trait Implementations§
impl Eq for NewRule
impl StructuralPartialEq for NewRule
Auto Trait Implementations§
impl Freeze for NewRule
impl RefUnwindSafe for NewRule
impl Send for NewRule
impl Sync for NewRule
impl Unpin for NewRule
impl UnsafeUnpin for NewRule
impl UnwindSafe for NewRule
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