Enum postgres_protocol::message::backend::ReplicaIdentity
source · pub enum ReplicaIdentity {
Default,
Nothing,
Full,
Index,
}
Expand description
Describes the REPLICA IDENTITY setting of a table
Variants§
Default
default selection for replica identity (primary key or nothing)
Nothing
no replica identity is logged for this relation
Full
all columns are logged as replica identity
Index
An explicitly chosen candidate key’s columns are used as replica identity. Note this will still be set if the index has been dropped; in that case it has the same meaning as ‘d’.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ReplicaIdentity
impl RefUnwindSafe for ReplicaIdentity
impl Send for ReplicaIdentity
impl Sync for ReplicaIdentity
impl Unpin for ReplicaIdentity
impl UnwindSafe for ReplicaIdentity
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