pub struct UserId(pub u64);Expand description
Tuple Fields§
§0: u64Implementations§
Trait Implementations§
Source§impl Bind for UserId
Available on crate feature sqll015 only.Binds as the statement’s only parameter, as BindValue does.
impl Bind for UserId
Available on crate feature
sqll015 only.Binds as the statement’s only parameter, as BindValue does.
Source§impl BindValue for UserId
Available on crate feature sqll015 only.Binds as an SQLite integer with the same bits, so an INTEGER PRIMARY KEY
holds every id a store assigns: every id binds, and one beyond i64::MAX
binds as a negative integer that no stored user has.
impl BindValue for UserId
Available on crate feature
sqll015 only.Binds as an SQLite integer with the same bits, so an INTEGER PRIMARY KEY
holds every id a store assigns: every id binds, and one beyond i64::MAX
binds as a negative integer that no stored user has.
impl Copy for UserId
Source§impl<'__de, __A> Decode<'__de, Binary, __A> for UserIdwhere
__A: Allocator,
Available on crate feature musli02 only.
impl<'__de, __A> Decode<'__de, Binary, __A> for UserIdwhere
__A: Allocator,
Available on crate feature
musli02 only.Source§const IS_BITWISE_DECODE: bool = false
const IS_BITWISE_DECODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§impl<'__de, __A> Decode<'__de, Text, __A> for UserIdwhere
__A: Allocator,
Available on crate feature musli02 only.
impl<'__de, __A> Decode<'__de, Text, __A> for UserIdwhere
__A: Allocator,
Available on crate feature
musli02 only.Source§const IS_BITWISE_DECODE: bool = false
const IS_BITWISE_DECODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§impl<'de> Deserialize<'de> for UserId
impl<'de> Deserialize<'de> for UserId
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 Encode<Binary> for UserId
Available on crate feature musli02 only.
impl Encode<Binary> for UserId
Available on crate feature
musli02 only.Source§const IS_BITWISE_ENCODE: bool = false
const IS_BITWISE_ENCODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§impl Encode<Text> for UserId
Available on crate feature musli02 only.
impl Encode<Text> for UserId
Available on crate feature
musli02 only.Source§const IS_BITWISE_ENCODE: bool = false
const IS_BITWISE_ENCODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
impl Eq for UserId
Source§impl FromColumn<'_> for UserId
Available on crate feature sqll015 only.Reads an integer column with the same bits, the reverse of BindValue.
impl FromColumn<'_> for UserId
Available on crate feature
sqll015 only.Reads an integer column with the same bits, the reverse of BindValue.
Source§impl Ord for UserId
impl Ord for UserId
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for UserId
impl PartialOrd for UserId
impl StructuralPartialEq for UserId
Auto Trait Implementations§
impl Freeze for UserId
impl RefUnwindSafe for UserId
impl Send for UserId
impl Sync for UserId
impl Unpin for UserId
impl UnsafeUnpin for UserId
impl UnwindSafe for UserId
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