pub struct DeleteLink {
    pub author: AgentPubKey,
    pub timestamp: Timestamp,
    pub action_seq: u32,
    pub prev_action: ActionHash,
    pub base_address: AnyLinkableHash,
    pub link_add_address: ActionHash,
}
Expand description

Declares that a previously made Link should be nullified and considered removed.

Fields§

§author: AgentPubKey§timestamp: Timestamp§action_seq: u32§prev_action: ActionHash§base_address: AnyLinkableHash

this is redundant with the CreateLink action but needs to be included to facilitate DHT ops this is NOT exposed to wasm developers and is validated by the subconscious to ensure that it always matches the base_address of the CreateLink

§link_add_address: ActionHash

The address of the CreateLink being reversed

Trait Implementations§

Add a weight to this unweighed action, making it “weighed”. The weight is determined by the weigh callback, which is run on the unweighed version of this action. Read more
Construct the full Action enum with this variant.
Erase the rate limiting weight info, creating an “unweighed” version of this action. This is used primarily by validators who need to run the weigh callback on an action they received, and want to make sure their callback is not using the predefined weight to influence the result. Read more
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Converts to this type from the input type.
Feeds this value into the given Hasher. Read more
Feeds a slice of this type into the given Hasher. Read more
The HashType which this content will be hashed to
The HashType which this content will be hashed to
Return a subset of the content, either as SerializedBytes “content”, which will be used to compute the hash, or as an already precomputed hash which will be used directly Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.