pub struct InsertOutcome {
pub record: EffectRecord,
pub inserted: bool,
}Expand description
The result of EffectStore::insert_or_get.
Fields§
§record: EffectRecordThe new or existing record.
inserted: boolWhether this call created it.
Trait Implementations§
Source§impl Clone for InsertOutcome
impl Clone for InsertOutcome
Source§impl Debug for InsertOutcome
impl Debug for InsertOutcome
Source§impl PartialEq for InsertOutcome
impl PartialEq for InsertOutcome
impl StructuralPartialEq for InsertOutcome
Auto Trait Implementations§
impl Freeze for InsertOutcome
impl RefUnwindSafe for InsertOutcome
impl Send for InsertOutcome
impl Sync for InsertOutcome
impl Unpin for InsertOutcome
impl UnsafeUnpin for InsertOutcome
impl UnwindSafe for InsertOutcome
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