#[repr(transparent)]pub struct StatementId(pub u64);Expand description
Session-scoped handle of a prepared statement, allocated by
crate::services::QueryService::prepare. Valid only within the session
that prepared it; the zero value is reserved.
Tuple Fields§
§0: u64Implementations§
Trait Implementations§
Source§impl Clone for StatementId
impl Clone for StatementId
Source§fn clone(&self) -> StatementId
fn clone(&self) -> StatementId
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 moreimpl Copy for StatementId
Source§impl Debug for StatementId
impl Debug for StatementId
Source§impl<'de> Deserialize<'de> for StatementId
impl<'de> Deserialize<'de> for StatementId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for StatementId
impl Display for StatementId
impl Eq for StatementId
Source§impl Hash for StatementId
impl Hash for StatementId
Source§impl Ord for StatementId
impl Ord for StatementId
Source§fn cmp(&self, other: &StatementId) -> Ordering
fn cmp(&self, other: &StatementId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for StatementId
impl PartialEq for StatementId
Source§impl PartialOrd for StatementId
impl PartialOrd for StatementId
Source§impl Serialize for StatementId
impl Serialize for StatementId
impl StructuralPartialEq for StatementId
Auto Trait Implementations§
impl Freeze for StatementId
impl RefUnwindSafe for StatementId
impl Send for StatementId
impl Sync for StatementId
impl Unpin for StatementId
impl UnsafeUnpin for StatementId
impl UnwindSafe for StatementId
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