Struct holochain_zome_types::entry::CreateInput [−][src]
pub struct CreateInput {
pub entry_def_id: EntryDefId,
pub entry: Entry,
pub chain_top_ordering: ChainTopOrdering,
}
Expand description
Data to create an entry.
Fields
entry_def_id: EntryDefId
EntryDefId for the created entry.
entry: Entry
Entry body.
chain_top_ordering: ChainTopOrdering
ChainTopBehaviour for the write.
Implementations
pub fn new(
entry_def_id: EntryDefId,
entry: Entry,
chain_top_ordering: ChainTopOrdering
) -> Self
pub fn new(
entry_def_id: EntryDefId,
entry: Entry,
chain_top_ordering: ChainTopOrdering
) -> Self
Constructor.
Consume into an Entry.
Accessor.
Trait Implementations
Performs the conversion.
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 CreateInput
impl Send for CreateInput
impl Sync for CreateInput
impl Unpin for CreateInput
impl UnwindSafe for CreateInput
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