pub struct EncodedKeyBuilder { /* private fields */ }Implementations§
Source§impl EncodedKeyBuilder
impl EncodedKeyBuilder
pub fn new() -> Self
pub fn with_capacity(capacity: usize) -> Self
pub fn build(self) -> EncodedKey
pub fn bool(self, value: bool) -> Self
pub fn f32(self, value: f32) -> Self
pub fn f64(self, value: f64) -> Self
pub fn i8<T: Into<i8>>(self, value: T) -> Self
pub fn i16<T: Into<i16>>(self, value: T) -> Self
pub fn i32<T: Into<i32>>(self, value: T) -> Self
pub fn i64<T: Into<i64>>(self, value: T) -> Self
pub fn i128<T: Into<i128>>(self, value: T) -> Self
pub fn u8<T: Into<u8>>(self, value: T) -> Self
pub fn u16<T: Into<u16>>(self, value: T) -> Self
pub fn u32<T: Into<u32>>(self, value: T) -> Self
pub fn u64<T: Into<u64>>(self, value: T) -> Self
pub fn u128<T: Into<u128>>(self, value: T) -> Self
pub fn bytes<T: AsRef<[u8]>>(self, bytes: T) -> Self
pub fn str<T: AsRef<str>>(self, s: T) -> Self
pub fn shape_id(self, shape: impl Into<ShapeId>) -> Self
pub fn index_id(self, index: impl Into<IndexId>) -> Self
pub fn serialize<T: Serialize>(self, value: &T) -> Self
pub fn raw(self, bytes: &[u8]) -> Self
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn date(self, date: &Date) -> Self
pub fn datetime(self, datetime: &DateTime) -> Self
pub fn time(self, time: &Time) -> Self
pub fn duration(self, duration: &Duration) -> Self
pub fn row_number(self, row_number: &RowNumber) -> Self
pub fn identity_id(self, id: &IdentityId) -> Self
pub fn uuid4(self, uuid: &Uuid4) -> Self
pub fn uuid7(self, uuid: &Uuid7) -> Self
pub fn blob(self, blob: &Blob) -> Self
pub fn int(self, int: &Int) -> Self
pub fn uint(self, uint: &Uint) -> Self
pub fn decimal(self, decimal: &Decimal) -> Self
pub fn value(self, value: &Value) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EncodedKeyBuilder
impl RefUnwindSafe for EncodedKeyBuilder
impl Send for EncodedKeyBuilder
impl Sync for EncodedKeyBuilder
impl Unpin for EncodedKeyBuilder
impl UnsafeUnpin for EncodedKeyBuilder
impl UnwindSafe for EncodedKeyBuilder
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