Struct holochain_zome_types::metadata::ElementDetails [−][src]
pub struct ElementDetails {
pub element: Element,
pub validation_status: ValidationStatus,
pub deletes: Vec<SignedHeaderHashed>,
pub updates: Vec<SignedHeaderHashed>,
}
Expand description
A specific Element with any deletes This is all the metadata available for an element.
Fields
element: Element
The specific element. Either a Create or an Update.
validation_status: ValidationStatus
The validation status of this element.
deletes: Vec<SignedHeaderHashed>
Any [Delete] on this element.
updates: Vec<SignedHeaderHashed>
Any [Update] on this element.
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
Performs the conversion.
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
Performs the conversion.
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ElementDetails
impl Send for ElementDetails
impl Sync for ElementDetails
impl Unpin for ElementDetails
impl UnwindSafe for ElementDetails
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more