Struct holochain_integrity_types::op::StoreEntry
source · pub struct StoreEntry {
pub action: SignedHashed<EntryCreationAction>,
pub entry: Entry,
}
Expand description
Stores a new Entry
in the DHT.
This is the act of creating a either a Action::Create
or
a Action::Update
and publishing it to the DHT.
These actions create a new instance of an Entry
.
Fields§
§action: SignedHashed<EntryCreationAction>
The signed and hashed EntryCreationAction
that creates
a new instance of the Entry
.
entry: Entry
The new Entry
to store.
Trait Implementations§
source§impl Clone for StoreEntry
impl Clone for StoreEntry
source§fn clone(&self) -> StoreEntry
fn clone(&self) -> StoreEntry
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 StoreEntry
impl Debug for StoreEntry
source§impl<'de> Deserialize<'de> for StoreEntry
impl<'de> Deserialize<'de> for StoreEntry
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<StoreEntry> for StoreEntry
impl PartialEq<StoreEntry> for StoreEntry
source§fn eq(&self, other: &StoreEntry) -> bool
fn eq(&self, other: &StoreEntry) -> bool
source§impl Serialize for StoreEntry
impl Serialize for StoreEntry
source§impl TryFrom<&StoreEntry> for SerializedBytes
impl TryFrom<&StoreEntry> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
source§fn try_from(t: &StoreEntry) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &StoreEntry) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
source§impl TryFrom<SerializedBytes> for StoreEntry
impl TryFrom<SerializedBytes> for StoreEntry
§type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
source§fn try_from(sb: SerializedBytes) -> Result<StoreEntry, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<StoreEntry, SerializedBytesError>
Performs the conversion.
source§impl TryFrom<StoreEntry> for SerializedBytes
impl TryFrom<StoreEntry> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
source§fn try_from(t: StoreEntry) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: StoreEntry) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.