[][src]Function hdk::api::commit_entry_result

pub fn commit_entry_result(
    entry: &Entry,
    options: CommitEntryOptions
) -> ZomeApiResult<CommitEntryResult>

Attempts to commit an entry to your local source chain. The entry will have to pass the defined validation rules for that entry type. If the entry type is defined as public, will also publish the entry to the DHT.

Additional provenances can be added to the commit using the options argument. Returns a CommitEntryResult which contains the address of the committed entry.