pub fn can_execute(&self) -> bool {
		match &self {
			Action::SellerSendOfferMessage(_)
			| Action::BuyerSendAcceptOfferMessage(_)
			| Action::BuyerSendInitRedeemMessage(_)
			| Action::SellerSendRedeemMessage(_)
			| Action::SellerPublishMwcLockTx
			| Action::SellerPublishTxSecondaryRedeem(_)
			| Action::BuyerPublishMwcRedeemTx
			| Action::SellerPublishMwcRefundTx
			| Action::BuyerPublishSecondaryRefundTx(_) => true,
			_ => false,
		}
	}
/// Return true if this action require execution (swap --process) from the user.
Return true if this action require execution (swap --process) from the user.
Return true if this action require execution ( swap -- process ) from the user .
pub fn can_execute(&self) -> bool {
		match &self {
			Action::SellerSendOfferMessage(_)
			| Action::BuyerSendAcceptOfferMessage(_)
			| Action::BuyerSendInitRedeemMessage(_)
			| Action::SellerSendRedeemMessage(_)
			| Action::SellerPublishMwcLockTx
			| Action::SellerPublishTxSecondaryRedeem(_)
			| Action::BuyerPublishMwcRedeemTx
			| Action::SellerPublishMwcRefundTx
			| Action::BuyerPublishSecondaryRefundTx(_) => true,
			_ => false,
		}
	}
pub fn can_execute ( & self ) -> bool { match & self { Action :: SellerSendOfferMessage ( _ ) | Action :: BuyerSendAcceptOfferMessage ( _ ) | Action :: BuyerSendInitRedeemMessage ( _ ) | Action :: SellerSendRedeemMessage ( _ ) | Action :: SellerPublishMwcLockTx | Action :: SellerPublishTxSecondaryRedeem ( _ ) | Action :: BuyerPublishMwcRedeemTx | Action :: SellerPublishMwcRefundTx | Action :: BuyerPublishSecondaryRefundTx ( _ ) => true , _ => false , } }
Return true if this action require execution (swap --process) from the user.
Return true if this action require execution ( swap -- process ) from the user .
&self
&self