pub struct RecordedStatement {
pub sql: String,
pub params: Vec<Value>,
pub route: ShardRoute,
}Expand description
One recorded statement.
Fields§
§sql: StringThe SQL that was run.
params: Vec<Value>Its bind values.
route: ShardRouteThe shard it was routed to.
Trait Implementations§
Source§impl Clone for RecordedStatement
impl Clone for RecordedStatement
Source§fn clone(&self) -> RecordedStatement
fn clone(&self) -> RecordedStatement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RecordedStatement
impl Debug for RecordedStatement
Source§impl PartialEq for RecordedStatement
impl PartialEq for RecordedStatement
impl StructuralPartialEq for RecordedStatement
Auto Trait Implementations§
impl Freeze for RecordedStatement
impl RefUnwindSafe for RecordedStatement
impl Send for RecordedStatement
impl Sync for RecordedStatement
impl Unpin for RecordedStatement
impl UnsafeUnpin for RecordedStatement
impl UnwindSafe for RecordedStatement
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,
Source§impl<T> Event for T
impl<T> Event for T
Source§fn event_name() -> &'static strwhere
Self: Sized,
fn event_name() -> &'static strwhere
Self: Sized,
A human-readable name, used by wildcard listeners and log output.
Always the Rust type path; see the trait docs.