pub struct ModifiedBuilder<V> { /* private fields */ }Expand description
Builder for a modified factory result with conditional-refresh metadata.
Implementations§
Source§impl<V> ModifiedBuilder<V>
impl<V> ModifiedBuilder<V>
Sourcepub fn last_modified(self, last_modified: Timestamp) -> Self
pub fn last_modified(self, last_modified: Timestamp) -> Self
Attaches a LastModified timestamp to the produced value.
Sets the tags for the produced value (overriding call/adaptive tags).
Sourcepub fn done(self) -> FactoryProduct<V>
pub fn done(self) -> FactoryProduct<V>
Finishes building the product.
Trait Implementations§
Auto Trait Implementations§
impl<V> Freeze for ModifiedBuilder<V>
impl<V> RefUnwindSafe for ModifiedBuilder<V>
impl<V> Send for ModifiedBuilder<V>
impl<V> Sync for ModifiedBuilder<V>
impl<V> Unpin for ModifiedBuilder<V>
impl<V> UnsafeUnpin for ModifiedBuilder<V>
impl<V> UnwindSafe for ModifiedBuilder<V>
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