Struct holochain_zome_types::header::CreateLink [−][src]
pub struct CreateLink {
pub author: AgentPubKey,
pub timestamp: Timestamp,
pub header_seq: u32,
pub prev_header: HeaderHash,
pub base_address: EntryHash,
pub target_address: EntryHash,
pub zome_id: ZomeId,
pub tag: LinkTag,
}
Expand description
Declares that a metadata Link should be made between two EntryHashes
Fields
timestamp: Timestamp
header_seq: u32
prev_header: HeaderHash
base_address: EntryHash
target_address: EntryHash
zome_id: ZomeId
tag: LinkTag
Implementations
pub fn from_builder(
common: HeaderBuilderCommon,
base_address: EntryHash,
target_address: EntryHash,
zome_id: ZomeId,
tag: LinkTag
) -> 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
Performs the conversion.
Get a full header from the subset
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 CreateLink
impl Send for CreateLink
impl Sync for CreateLink
impl Unpin for CreateLink
impl UnwindSafe for CreateLink
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