pub struct ApiKeyStart { /* private fields */ }Expand description
SQLite preserves Bun’s WTF-8 TEXT binding; only this public substring is decoded lossily. Other columns continue to require valid UTF-8.
Trait Implementations§
Source§impl Clone for ApiKeyStart
impl Clone for ApiKeyStart
Source§impl Debug for ApiKeyStart
impl Debug for ApiKeyStart
Source§impl<'r> Decode<'r, Postgres> for ApiKeyStart
Available on crate feature postgres only.
impl<'r> Decode<'r, Postgres> for ApiKeyStart
Available on crate feature
postgres only.Source§fn decode(value: PgValueRef<'r>) -> Result<Self, BoxDynError>
fn decode(value: PgValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
Source§impl<'r> Decode<'r, Sqlite> for ApiKeyStart
Available on crate feature sqlite only.
impl<'r> Decode<'r, Sqlite> for ApiKeyStart
Available on crate feature
sqlite only.Source§fn decode(value: SqliteValueRef<'r>) -> Result<Self, BoxDynError>
fn decode(value: SqliteValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
Source§impl PartialEq for ApiKeyStart
impl PartialEq for ApiKeyStart
Source§impl SqlxValue for ApiKeyStart
impl SqlxValue for ApiKeyStart
Source§const KIND: ColumnKind = ColumnKind::Text
const KIND: ColumnKind = ColumnKind::Text
The column category used to coerce configured raw values.
fn into_sql_value(self) -> SqlValue
Source§fn from_sql_value(value: SqlValue) -> Result<Self, ValueTypeError>
fn from_sql_value(value: SqlValue) -> Result<Self, ValueTypeError>
Errors Read more
impl StructuralPartialEq for ApiKeyStart
Source§impl Type<Postgres> for ApiKeyStart
Available on crate feature postgres only.
impl Type<Postgres> for ApiKeyStart
Available on crate feature
postgres only.Source§fn type_info() -> PgTypeInfo
fn type_info() -> PgTypeInfo
Returns the canonical SQL type for this Rust type. Read more
Source§fn compatible(ty: &PgTypeInfo) -> bool
fn compatible(ty: &PgTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
Source§impl Type<Sqlite> for ApiKeyStart
Available on crate feature sqlite only.
impl Type<Sqlite> for ApiKeyStart
Available on crate feature
sqlite only.Source§fn type_info() -> SqliteTypeInfo
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
Source§fn compatible(ty: &SqliteTypeInfo) -> bool
fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
Auto Trait Implementations§
impl Freeze for ApiKeyStart
impl RefUnwindSafe for ApiKeyStart
impl Send for ApiKeyStart
impl Sync for ApiKeyStart
impl Unpin for ApiKeyStart
impl UnsafeUnpin for ApiKeyStart
impl UnwindSafe for ApiKeyStart
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
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