Struct hdk::prelude::EntryDetails
source · pub struct EntryDetails {
pub entry: Entry,
pub actions: Vec<SignedHashed<Action>, Global>,
pub rejected_actions: Vec<SignedHashed<Action>, Global>,
pub deletes: Vec<SignedHashed<Action>, Global>,
pub updates: Vec<SignedHashed<Action>, Global>,
pub entry_dht_status: EntryDhtStatus,
}
Expand description
An Entry with all its metadata.
Fields§
§entry: Entry
The data
actions: Vec<SignedHashed<Action>, Global>
Create relationships.
These are the actions that created this entry.
They can be either a Create
or an
Update
action
where the entry_hash
field is the hash of
the above entry.
You can make an Record
from any of these
and the entry.
rejected_actions: Vec<SignedHashed<Action>, Global>
Rejected create relationships. These are also the actions that created this entry. but did not pass validation.
deletes: Vec<SignedHashed<Action>, Global>
Delete relationships
These are the deletes that have the
deletes_entry_address
set to the above Entry.
updates: Vec<SignedHashed<Action>, Global>
Update relationships.
These are the updates that have the
original_entry_address
set to the above Entry.
Notes
This is just the relationship and you will need call get
if you want to get the new Entry (the entry on the entry_hash
field).
You cannot make a Record from these actions and the above entry.
entry_dht_status: EntryDhtStatus
The status of this entry currently according to your view of the metadata
Trait Implementations§
source§impl Clone for EntryDetails
impl Clone for EntryDetails
source§fn clone(&self) -> EntryDetails
fn clone(&self) -> EntryDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more