pub struct UpsertEntityPayload {
pub entity_type: String,
pub entity_id: String,
pub data: JsonObject,
}Expand description
Payload for the graph_upsert_entity command.
Fields§
§entity_type: String§entity_id: String§data: JsonObjectTrait Implementations§
Source§impl Clone for UpsertEntityPayload
impl Clone for UpsertEntityPayload
Source§fn clone(&self) -> UpsertEntityPayload
fn clone(&self) -> UpsertEntityPayload
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UpsertEntityPayload
impl Debug for UpsertEntityPayload
Source§impl<'de> Deserialize<'de> for UpsertEntityPayload
impl<'de> Deserialize<'de> for UpsertEntityPayload
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
Auto Trait Implementations§
impl Freeze for UpsertEntityPayload
impl RefUnwindSafe for UpsertEntityPayload
impl Send for UpsertEntityPayload
impl Sync for UpsertEntityPayload
impl Unpin for UpsertEntityPayload
impl UnwindSafe for UpsertEntityPayload
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