Struct hdk::prelude::dependencies::holochain_integrity_types::action::builder::CreateLink
pub struct CreateLink {
pub base_address: HoloHash<AnyLinkable>,
pub target_address: HoloHash<AnyLinkable>,
pub zome_index: ZomeIndex,
pub link_type: LinkType,
pub tag: LinkTag,
}
Fields§
§base_address: HoloHash<AnyLinkable>
§target_address: HoloHash<AnyLinkable>
§zome_index: ZomeIndex
§link_type: LinkType
§tag: LinkTag
Implementations§
§impl CreateLink
impl CreateLink
pub fn new(
base_address: HoloHash<AnyLinkable>,
target_address: HoloHash<AnyLinkable>,
zome_index: ZomeIndex,
link_type: LinkType,
tag: LinkTag
) -> CreateLink
Trait Implementations§
§impl ActionBuilder<CreateLink<()>> for CreateLink
impl ActionBuilder<CreateLink<()>> for CreateLink
fn build(self, common: ActionBuilderCommon) -> CreateLink<()>
§impl Clone for CreateLink
impl Clone for CreateLink
§fn clone(&self) -> CreateLink
fn clone(&self) -> CreateLink
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for CreateLink
impl Debug for CreateLink
§impl PartialEq<CreateLink> for CreateLink
impl PartialEq<CreateLink> for CreateLink
§fn eq(&self, other: &CreateLink) -> bool
fn eq(&self, other: &CreateLink) -> bool
impl Eq for CreateLink
impl StructuralEq for CreateLink
impl StructuralPartialEq for CreateLink
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§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
§impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
§fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> Upcastable for Twhere
T: 'static + Any + Send + Sync,
impl<T> Upcastable for Twhere
T: 'static + Any + Send + Sync,
§fn upcast_any_ref(&self) -> &(dyn Any + 'static)
fn upcast_any_ref(&self) -> &(dyn Any + 'static)
upcast ref
§fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
upcast mut ref