Struct holochain_integrity_types::op::RegisterCreateLink
source · pub struct RegisterCreateLink {
pub create_link: SignedHashed<CreateLink>,
}
Expand description
Registers a link between two Entry
s.
This is the act of creating a Action::CreateLink
and
publishing it to the DHT.
The authority is the entry authority for the base Entry
.
Fields§
§create_link: SignedHashed<CreateLink>
The signed and hashed Action::CreateLink
that registers the link.
Trait Implementations§
source§impl Clone for RegisterCreateLink
impl Clone for RegisterCreateLink
source§fn clone(&self) -> RegisterCreateLink
fn clone(&self) -> RegisterCreateLink
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 moresource§impl Debug for RegisterCreateLink
impl Debug for RegisterCreateLink
source§impl<'de> Deserialize<'de> for RegisterCreateLink
impl<'de> Deserialize<'de> for RegisterCreateLink
source§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
source§impl PartialEq for RegisterCreateLink
impl PartialEq for RegisterCreateLink
source§fn eq(&self, other: &RegisterCreateLink) -> bool
fn eq(&self, other: &RegisterCreateLink) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RegisterCreateLink
impl Serialize for RegisterCreateLink
source§impl TryFrom<&RegisterCreateLink> for SerializedBytes
impl TryFrom<&RegisterCreateLink> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
source§fn try_from(
t: &RegisterCreateLink
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from( t: &RegisterCreateLink ) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
source§impl TryFrom<RegisterCreateLink> for SerializedBytes
impl TryFrom<RegisterCreateLink> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
source§fn try_from(
t: RegisterCreateLink
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from( t: RegisterCreateLink ) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
source§impl TryFrom<SerializedBytes> for RegisterCreateLink
impl TryFrom<SerializedBytes> for RegisterCreateLink
§type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
source§fn try_from(
sb: SerializedBytes
) -> Result<RegisterCreateLink, SerializedBytesError>
fn try_from( sb: SerializedBytes ) -> Result<RegisterCreateLink, SerializedBytesError>
Performs the conversion.
impl Eq for RegisterCreateLink
impl StructuralPartialEq for RegisterCreateLink
Auto Trait Implementations§
impl RefUnwindSafe for RegisterCreateLink
impl Send for RegisterCreateLink
impl Sync for RegisterCreateLink
impl Unpin for RegisterCreateLink
impl UnwindSafe for RegisterCreateLink
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.