pub struct ReplacementScanInfo(/* private fields */);
Implementations§
Source§impl ReplacementScanInfo
impl ReplacementScanInfo
Sourcepub fn set_function_name(&mut self, function_name: &str)
pub fn set_function_name(&mut self, function_name: &str)
Sets the replacement function name to use. If this function is called in the replacement callback, the replacement scan is performed. If it is not called, the replacement callback is not performed.
Sourcepub fn add_parameter(&mut self, parameter: Value)
pub fn add_parameter(&mut self, parameter: Value)
Adds a parameter to the replacement scan function.
Trait Implementations§
Source§impl From<*mut c_void> for ReplacementScanInfo
impl From<*mut c_void> for ReplacementScanInfo
Source§fn from(value: duckdb_replacement_scan_info) -> Self
fn from(value: duckdb_replacement_scan_info) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ReplacementScanInfo
impl RefUnwindSafe for ReplacementScanInfo
impl !Send for ReplacementScanInfo
impl !Sync for ReplacementScanInfo
impl Unpin for ReplacementScanInfo
impl UnwindSafe for ReplacementScanInfo
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