1
 2
 3
 4
 5
 6
 7
 8
 9
10
use holochain_core_types::entry::Entry;
use holochain_json_api::{error::JsonError, json::*};
use holochain_persistence_api::cas::content::Address;

/// Struct for input data received when Zome API function update_entry() is invoked
#[derive(Deserialize, Clone, PartialEq, Debug, Serialize, DefaultJson)]
pub struct UpdateEntryArgs {
    pub new_entry: Entry,
    pub address: Address,
}