pub enum ProposalAction {
EntityMerge,
RelationConflict,
DetectContradiction,
SuggestEntity,
DedupMerge,
PageMerge,
CrossSpaceDiscovery,
PageKeepOrArchive,
LintRepairReview,
VocabPromote,
Unknown,
}Expand description
The action type for a background-refinery proposal.
Used as the action tag in RefinementPayload.
Variants§
EntityMerge
RelationConflict
DetectContradiction
SuggestEntity
DedupMerge
PageMerge
CrossSpaceDiscovery
PageKeepOrArchive
LintRepairReview
VocabPromote
Unknown
ponytail: deserialize-only catch-all. Lets a stale client decode a newer daemon’s action tag instead of failing the whole list. NEVER constructed or serialized by the daemon (it only ever holds real variants), so serialize-of-Unknown never happens in practice.
Trait Implementations§
Source§impl Clone for ProposalAction
impl Clone for ProposalAction
Source§fn clone(&self) -> ProposalAction
fn clone(&self) -> ProposalAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProposalAction
impl Debug for ProposalAction
Source§impl<'de> Deserialize<'de> for ProposalAction
impl<'de> Deserialize<'de> for ProposalAction
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
impl Eq for ProposalAction
Source§impl PartialEq for ProposalAction
impl PartialEq for ProposalAction
Source§impl Serialize for ProposalAction
impl Serialize for ProposalAction
impl StructuralPartialEq for ProposalAction
Auto Trait Implementations§
impl Freeze for ProposalAction
impl RefUnwindSafe for ProposalAction
impl Send for ProposalAction
impl Sync for ProposalAction
impl Unpin for ProposalAction
impl UnsafeUnpin for ProposalAction
impl UnwindSafe for ProposalAction
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