Struct holochain_zome_types::judged::Judged
source · [−]pub struct Judged<T> {
pub data: T,
/* private fields */
}
Expand description
Data with an optional validation status.
Fields
data: T
The data that the status applies to.
Implementations
Create a Judged item with a given ValidationStatus
Create a Judged item where it’s ok to not have a status.
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
Auto Trait Implementations
impl<T> RefUnwindSafe for Judged<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Judged<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
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