pub enum D1Type<'a> {
Null,
Real(f64),
Integer(i32),
Text(&'a str),
Boolean(bool),
Blob(&'a [u8]),
}
Expand description
Possible argument types that can be bound to D1PreparedStatement
See https://developers.cloudflare.com/d1/build-with-d1/d1-client-api/#type-conversion
Variants§
Trait Implementations§
Source§impl<'a> IntoIterator for &'a D1Type<'a>
impl<'a> IntoIterator for &'a D1Type<'a>
Auto Trait Implementations§
impl<'a> Freeze for D1Type<'a>
impl<'a> RefUnwindSafe for D1Type<'a>
impl<'a> Send for D1Type<'a>
impl<'a> Sync for D1Type<'a>
impl<'a> Unpin for D1Type<'a>
impl<'a> UnwindSafe for D1Type<'a>
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