pub struct EntryWriter<const N: usize> { /* private fields */ }Implementations§
Source§impl<const N: usize> EntryWriter<N>
impl<const N: usize> EntryWriter<N>
pub const fn new() -> Self
pub const fn u8(self, value: u8) -> Self
pub const fn bool(self, value: bool) -> Self
pub const fn u32(self, value: u32) -> Self
pub const fn type_origin(self, value: TypeOrigin) -> Self
pub const fn bytes(self, value: &[u8]) -> Self
pub const fn str(self, value: &str) -> Self
pub const fn sql_mapping(self, value: SqlMappingRef) -> Self
pub const fn sql_array_mapping(self, value: SqlArrayMappingRef) -> Self
pub const fn returns(self, value: ReturnsRef) -> Self
pub const fn argument_error(self, value: ArgumentError) -> Self
pub const fn argument_sql( self, value: Result<SqlMappingRef, ArgumentError>, ) -> Self
pub const fn returns_error(self, value: ReturnsError) -> Self
pub const fn return_sql(self, value: Result<ReturnsRef, ReturnsError>) -> Self
pub const fn function_metadata_type( self, resolution: Option<(&str, TypeOrigin)>, argument_sql: Result<SqlMappingRef, ArgumentError>, return_sql: Result<ReturnsRef, ReturnsError>, ) -> Self
pub const fn finish(self) -> [u8; N]
Trait Implementations§
Source§impl<const N: usize> Clone for EntryWriter<N>
impl<const N: usize> Clone for EntryWriter<N>
Source§fn clone(&self) -> EntryWriter<N>
fn clone(&self) -> EntryWriter<N>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<const N: usize> Default for EntryWriter<N>
impl<const N: usize> Default for EntryWriter<N>
impl<const N: usize> Copy for EntryWriter<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for EntryWriter<N>
impl<const N: usize> RefUnwindSafe for EntryWriter<N>
impl<const N: usize> Send for EntryWriter<N>
impl<const N: usize> Sync for EntryWriter<N>
impl<const N: usize> Unpin for EntryWriter<N>
impl<const N: usize> UnsafeUnpin for EntryWriter<N>
impl<const N: usize> UnwindSafe for EntryWriter<N>
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