Struct postgres::CancelData
[−]
pub struct CancelData { pub process_id: i32, pub secret_key: i32, }
Contains information necessary to cancel queries for a session.
Fields
process_id: i32
The process ID of the session.
secret_key: i32
The secret key for the session.
Trait Implementations
impl Copy for CancelData
impl Debug for CancelData
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Clone for CancelData
fn clone(&self) -> CancelData
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more