Struct holochain_zome_types::entry_def::EntryDef [−][src]
pub struct EntryDef {
pub id: EntryDefId,
pub visibility: EntryVisibility,
pub crdt_type: CrdtType,
pub required_validations: RequiredValidations,
pub required_validation_type: RequiredValidationType,
}
Fields
id: EntryDefId
Zome-unique identifier for this entry type
visibility: EntryVisibility
Public or Private
crdt_type: CrdtType
TBD – Special types of conflict resolution support from Holochain (e.g. Single-Author, )
required_validations: RequiredValidations
how many validations to receive before considered “network saturated” (MAX value of 50?)
required_validation_type: RequiredValidationType
The required validation package for this entry
Implementations
pub fn new(
id: EntryDefId,
visibility: EntryVisibility,
crdt_type: CrdtType,
required_validations: RequiredValidations,
required_validation_type: RequiredValidationType
) -> Self
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 RefUnwindSafe for EntryDef
impl UnwindSafe for EntryDef
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. 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