pub struct ImportOptions {
pub record_streams: bool,
pub set_cached_at: bool,
}Expand description
Options for Database::import_items().
Fields§
§record_streams: boolWhether to record stream events for imported items. Default: false.
set_cached_at: boolWhether to set cached_at to the current timestamp. Default: false.
Trait Implementations§
Source§impl Clone for ImportOptions
impl Clone for ImportOptions
Source§impl Debug for ImportOptions
impl Debug for ImportOptions
Auto Trait Implementations§
impl Freeze for ImportOptions
impl RefUnwindSafe for ImportOptions
impl Send for ImportOptions
impl Sync for ImportOptions
impl Unpin for ImportOptions
impl UnsafeUnpin for ImportOptions
impl UnwindSafe for ImportOptions
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