pub struct KeySerializer { /* private fields */ }Implementations§
Source§impl KeySerializer
impl KeySerializer
pub fn new() -> Self
pub fn with_capacity(capacity: usize) -> Self
pub fn extend_bool(&mut self, value: bool) -> &mut Self
pub fn extend_f32(&mut self, value: f32) -> &mut Self
pub fn extend_f64(&mut self, value: f64) -> &mut Self
pub fn extend_i8<T: Into<i8>>(&mut self, value: T) -> &mut Self
pub fn extend_i16<T: Into<i16>>(&mut self, value: T) -> &mut Self
pub fn extend_i32<T: Into<i32>>(&mut self, value: T) -> &mut Self
pub fn extend_i64<T: Into<i64>>(&mut self, value: T) -> &mut Self
pub fn extend_i128<T: Into<i128>>(&mut self, value: T) -> &mut Self
pub fn extend_u8<T: Into<u8>>(&mut self, value: T) -> &mut Self
pub fn extend_u16<T: Into<u16>>(&mut self, value: T) -> &mut Self
pub fn extend_u32<T: Into<u32>>(&mut self, value: T) -> &mut Self
pub fn extend_u64<T: Into<u64>>(&mut self, value: T) -> &mut Self
pub fn extend_u128<T: Into<u128>>(&mut self, value: T) -> &mut Self
pub fn extend_bytes<T: AsRef<[u8]>>(&mut self, bytes: T) -> &mut Self
pub fn extend_str<T: AsRef<str>>(&mut self, s: T) -> &mut Self
pub fn finish(self) -> EncodedKey
pub fn to_encoded_key(self) -> EncodedKey
pub fn extend_shape_id(&mut self, object: impl Into<ShapeId>) -> &mut Self
pub fn extend_index_id(&mut self, index: impl Into<IndexId>) -> &mut Self
pub fn extend_serialize<T: Serialize>(&mut self, value: &T) -> &mut Self
pub fn extend_raw(&mut self, bytes: &[u8]) -> &mut Self
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn extend_date(&mut self, date: &Date) -> &mut Self
pub fn extend_datetime(&mut self, datetime: &DateTime) -> &mut Self
pub fn extend_time(&mut self, time: &Time) -> &mut Self
pub fn extend_duration(&mut self, duration: &Duration) -> &mut Self
pub fn extend_row_number(&mut self, row_number: &RowNumber) -> &mut Self
pub fn extend_identity_id(&mut self, id: &IdentityId) -> &mut Self
pub fn extend_uuid4(&mut self, uuid: &Uuid4) -> &mut Self
pub fn extend_uuid7(&mut self, uuid: &Uuid7) -> &mut Self
pub fn extend_blob(&mut self, blob: &Blob) -> &mut Self
pub fn extend_int(&mut self, int: &Int) -> &mut Self
pub fn extend_uint(&mut self, uint: &Uint) -> &mut Self
pub fn extend_decimal(&mut self, decimal: &Decimal) -> &mut Self
pub fn extend_value(&mut self, value: &Value) -> &mut Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KeySerializer
impl RefUnwindSafe for KeySerializer
impl Send for KeySerializer
impl Sync for KeySerializer
impl Unpin for KeySerializer
impl UnsafeUnpin for KeySerializer
impl UnwindSafe for KeySerializer
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more