pub struct Update {
pub mode: Mode,
pub edit_index: Option<usize>,
}
Available on crate features
async-network-client
or blocking-network-client
only.Expand description
Information about the update of a single reference, corresponding the respective entry in RefMap::mappings
.
Fields§
§mode: Mode
The way the update was performed.
edit_index: Option<usize>
The index to the edit that was created from the corresponding mapping, or None
if there was no local ref.
Trait Implementations§
source§impl PartialEq<Update> for Update
impl PartialEq<Update> for Update
impl Eq for Update
impl StructuralEq for Update
impl StructuralPartialEq for Update
Auto Trait Implementations§
impl RefUnwindSafe for Update
impl Send for Update
impl Sync for Update
impl Unpin for Update
impl UnwindSafe for Update
Blanket Implementations§
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more