pub enum GeneratedKey {
Integer(i64),
Text(String),
}Expand description
A generated key explicitly returned by a write, never an ambient handle.
Variants§
Trait Implementations§
Source§impl Clone for GeneratedKey
impl Clone for GeneratedKey
Source§fn clone(&self) -> GeneratedKey
fn clone(&self) -> GeneratedKey
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 GeneratedKey
impl Debug for GeneratedKey
Source§impl<'de> Deserialize<'de> for GeneratedKey
impl<'de> Deserialize<'de> for GeneratedKey
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 PartialEq for GeneratedKey
impl PartialEq for GeneratedKey
Source§impl Serialize for GeneratedKey
impl Serialize for GeneratedKey
impl StructuralPartialEq for GeneratedKey
Auto Trait Implementations§
impl Freeze for GeneratedKey
impl RefUnwindSafe for GeneratedKey
impl Send for GeneratedKey
impl Sync for GeneratedKey
impl Unpin for GeneratedKey
impl UnsafeUnpin for GeneratedKey
impl UnwindSafe for GeneratedKey
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