Struct holochain_integrity_types::op::RegisterDeleteLink
source · pub struct RegisterDeleteLink {
pub delete_link: SignedHashed<DeleteLink>,
pub create_link: CreateLink,
}
Expand description
Deletes a link between two Entry
s.
This is the act of creating a Action::DeleteLink
and
publishing it to the DHT.
The delete always references a specific Action::CreateLink
.
Fields§
§delete_link: SignedHashed<DeleteLink>
The signed and hashed Action::DeleteLink
that registers the deletion.
create_link: CreateLink
The link that is being deleted.
Trait Implementations§
source§impl Clone for RegisterDeleteLink
impl Clone for RegisterDeleteLink
source§fn clone(&self) -> RegisterDeleteLink
fn clone(&self) -> RegisterDeleteLink
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 RegisterDeleteLink
impl Debug for RegisterDeleteLink
source§impl<'de> Deserialize<'de> for RegisterDeleteLink
impl<'de> Deserialize<'de> for RegisterDeleteLink
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 RegisterDeleteLink
impl PartialEq for RegisterDeleteLink
source§fn eq(&self, other: &RegisterDeleteLink) -> bool
fn eq(&self, other: &RegisterDeleteLink) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RegisterDeleteLink
impl Serialize for RegisterDeleteLink
source§impl TryFrom<&RegisterDeleteLink> for SerializedBytes
impl TryFrom<&RegisterDeleteLink> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
source§fn try_from(
t: &RegisterDeleteLink
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from( t: &RegisterDeleteLink ) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
source§impl TryFrom<RegisterDeleteLink> for SerializedBytes
impl TryFrom<RegisterDeleteLink> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
source§fn try_from(
t: RegisterDeleteLink
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from( t: RegisterDeleteLink ) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
source§impl TryFrom<SerializedBytes> for RegisterDeleteLink
impl TryFrom<SerializedBytes> for RegisterDeleteLink
§type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
source§fn try_from(
sb: SerializedBytes
) -> Result<RegisterDeleteLink, SerializedBytesError>
fn try_from( sb: SerializedBytes ) -> Result<RegisterDeleteLink, SerializedBytesError>
Performs the conversion.
impl Eq for RegisterDeleteLink
impl StructuralPartialEq for RegisterDeleteLink
Auto Trait Implementations§
impl RefUnwindSafe for RegisterDeleteLink
impl Send for RegisterDeleteLink
impl Sync for RegisterDeleteLink
impl Unpin for RegisterDeleteLink
impl UnwindSafe for RegisterDeleteLink
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.