pub struct EnvironmentMetadataCollectionPatch<T> {
pub upserts: Vec<T>,
pub deletes: Vec<String>,
}Expand description
Incremental metadata changes for one aggregate collection.
Upserts and deletes are committed under the enclosing scope-version CAS; unchanged aggregates never cross the repository boundary.
Fields§
§upserts: Vec<T>§deletes: Vec<String>Trait Implementations§
Source§impl<T: Clone> Clone for EnvironmentMetadataCollectionPatch<T>
impl<T: Clone> Clone for EnvironmentMetadataCollectionPatch<T>
Source§fn clone(&self) -> EnvironmentMetadataCollectionPatch<T>
fn clone(&self) -> EnvironmentMetadataCollectionPatch<T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T: Debug> Debug for EnvironmentMetadataCollectionPatch<T>
impl<T: Debug> Debug for EnvironmentMetadataCollectionPatch<T>
Source§impl<T> Default for EnvironmentMetadataCollectionPatch<T>
impl<T> Default for EnvironmentMetadataCollectionPatch<T>
impl<T: Eq> Eq for EnvironmentMetadataCollectionPatch<T>
Source§impl<T: PartialEq> PartialEq for EnvironmentMetadataCollectionPatch<T>
impl<T: PartialEq> PartialEq for EnvironmentMetadataCollectionPatch<T>
impl<T: PartialEq> StructuralPartialEq for EnvironmentMetadataCollectionPatch<T>
Auto Trait Implementations§
impl<T> Freeze for EnvironmentMetadataCollectionPatch<T>
impl<T> RefUnwindSafe for EnvironmentMetadataCollectionPatch<T>where
Vec<T>: RefUnwindSafe,
impl<T> Send for EnvironmentMetadataCollectionPatch<T>
impl<T> Sync for EnvironmentMetadataCollectionPatch<T>
impl<T> Unpin for EnvironmentMetadataCollectionPatch<T>
impl<T> UnsafeUnpin for EnvironmentMetadataCollectionPatch<T>where
Vec<T>: UnsafeUnpin,
impl<T> UnwindSafe for EnvironmentMetadataCollectionPatch<T>where
Vec<T>: UnwindSafe,
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