pub struct Arguments<'args> { /* private fields */ }Expand description
Implementations§
Source§impl<'args> Arguments<'args>
impl<'args> Arguments<'args>
Sourcepub fn as_ref(&self) -> ArgumentsRef<'_>
pub fn as_ref(&self) -> ArgumentsRef<'_>
获取引用对象
Sourcepub fn add_longlong(
&mut self,
value: impl Into<Option<pblonglong>>,
) -> Result<()>
pub fn add_longlong( &mut self, value: impl Into<Option<pblonglong>>, ) -> Result<()>
添加longlong类型参数
Sourcepub fn add_string<T, D>(&mut self, value: T) -> Result<()>
pub fn add_string<T, D>(&mut self, value: T) -> Result<()>
添加string类型参数
Sourcepub fn add_datetime(
&mut self,
value: impl Into<Option<NaiveDateTime>>,
) -> Result<()>
pub fn add_datetime( &mut self, value: impl Into<Option<NaiveDateTime>>, ) -> Result<()>
添加datetime类型参数
Trait Implementations§
Source§impl<'args> IntoIterator for Arguments<'args>
impl<'args> IntoIterator for Arguments<'args>
Auto Trait Implementations§
impl<'args> Freeze for Arguments<'args>
impl<'args> RefUnwindSafe for Arguments<'args>
impl<'args> !Send for Arguments<'args>
impl<'args> !Sync for Arguments<'args>
impl<'args> Unpin for Arguments<'args>
impl<'args> UnwindSafe for Arguments<'args>
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