pub struct CreateLinkInput {
pub base_address: HoloHash<AnyLinkable>,
pub target_address: HoloHash<AnyLinkable>,
pub zome_index: ZomeIndex,
pub link_type: LinkType,
pub tag: LinkTag,
pub chain_top_ordering: ChainTopOrdering,
}
Expand description
Zome IO inner type for link creation.
Fields§
§base_address: HoloHash<AnyLinkable>
§target_address: HoloHash<AnyLinkable>
§zome_index: ZomeIndex
§link_type: LinkType
§tag: LinkTag
§chain_top_ordering: ChainTopOrdering
Implementations§
Source§impl CreateLinkInput
impl CreateLinkInput
pub fn new( base_address: HoloHash<AnyLinkable>, target_address: HoloHash<AnyLinkable>, zome_index: ZomeIndex, link_type: LinkType, tag: LinkTag, chain_top_ordering: ChainTopOrdering, ) -> CreateLinkInput
Trait Implementations§
Source§impl Clone for CreateLinkInput
impl Clone for CreateLinkInput
Source§fn clone(&self) -> CreateLinkInput
fn clone(&self) -> CreateLinkInput
Returns a duplicate 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 moreSource§impl Debug for CreateLinkInput
impl Debug for CreateLinkInput
Source§impl<'de> Deserialize<'de> for CreateLinkInput
impl<'de> Deserialize<'de> for CreateLinkInput
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CreateLinkInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CreateLinkInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CreateLinkInput
impl PartialEq for CreateLinkInput
Source§impl Serialize for CreateLinkInput
impl Serialize for CreateLinkInput
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for CreateLinkInput
Auto Trait Implementations§
impl Freeze for CreateLinkInput
impl RefUnwindSafe for CreateLinkInput
impl Send for CreateLinkInput
impl Sync for CreateLinkInput
impl Unpin for CreateLinkInput
impl UnwindSafe for CreateLinkInput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more