pub struct KnowledgeMutation {
pub upsert: Vec<KnowledgeEntry>,
pub remove: Vec<String>,
}Fields§
§upsert: Vec<KnowledgeEntry>Keyed upsert; entries without a key append.
remove: Vec<String>Keys to drop at the next boundary. Errs open: an unknown key is a no-op.
Trait Implementations§
Source§impl Clone for KnowledgeMutation
impl Clone for KnowledgeMutation
Source§impl Debug for KnowledgeMutation
impl Debug for KnowledgeMutation
Source§impl Default for KnowledgeMutation
impl Default for KnowledgeMutation
Source§impl<'de> Deserialize<'de> for KnowledgeMutation
impl<'de> Deserialize<'de> for KnowledgeMutation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for KnowledgeMutation
impl PartialEq for KnowledgeMutation
Source§impl Serialize for KnowledgeMutation
impl Serialize for KnowledgeMutation
impl StructuralPartialEq for KnowledgeMutation
Auto Trait Implementations§
impl Freeze for KnowledgeMutation
impl RefUnwindSafe for KnowledgeMutation
impl Send for KnowledgeMutation
impl Sync for KnowledgeMutation
impl Unpin for KnowledgeMutation
impl UnsafeUnpin for KnowledgeMutation
impl UnwindSafe for KnowledgeMutation
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