pub enum ActionItemRequestType {
Show 14 variants
ReviewInput(ReviewInputRequest),
ProvideInput(ProvideInputRequest),
PickInputOption(PickInputOptionRequest),
ProvidePublicKey(ProvidePublicKeyRequest),
ProvideSignedTransaction(ProvideSignedTransactionRequest),
VerifyThirdPartySignature(VerifyThirdPartySignatureRequest),
ProvideSignedMessage(ProvideSignedMessageRequest),
SendTransaction(SendTransactionRequest),
DisplayOutput(DisplayOutputRequest),
DisplayErrorLog(DisplayErrorLogRequest),
OpenModal(OpenModalData),
ValidateBlock(ValidateBlockData),
ValidateModal,
BeginFlow(FlowBlockData),
}Variants§
ReviewInput(ReviewInputRequest)
ProvideInput(ProvideInputRequest)
PickInputOption(PickInputOptionRequest)
ProvidePublicKey(ProvidePublicKeyRequest)
ProvideSignedTransaction(ProvideSignedTransactionRequest)
VerifyThirdPartySignature(VerifyThirdPartySignatureRequest)
ProvideSignedMessage(ProvideSignedMessageRequest)
SendTransaction(SendTransactionRequest)
DisplayOutput(DisplayOutputRequest)
DisplayErrorLog(DisplayErrorLogRequest)
OpenModal(OpenModalData)
ValidateBlock(ValidateBlockData)
ValidateModal
BeginFlow(FlowBlockData)
Implementations§
Source§impl ActionItemRequestType
impl ActionItemRequestType
pub fn to_request( self, construct_instance_name: &str, internal_key: &str, ) -> ActionItemRequest
pub fn as_review_input(&self) -> Option<&ReviewInputRequest>
pub fn as_provide_input(&self) -> Option<&ProvideInputRequest>
pub fn as_pick_input(&self) -> Option<&PickInputOptionRequest>
pub fn as_provide_public_key(&self) -> Option<&ProvidePublicKeyRequest>
pub fn as_provide_signed_tx(&self) -> Option<&ProvideSignedTransactionRequest>
pub fn as_verify_third_party_signature( &self, ) -> Option<&VerifyThirdPartySignatureRequest>
pub fn as_sign_tx(&self) -> Option<&SendTransactionRequest>
pub fn as_provide_signed_msg(&self) -> Option<&ProvideSignedMessageRequest>
pub fn as_display_output(&self) -> Option<&DisplayOutputRequest>
pub fn as_display_err(&self) -> Option<&DisplayErrorLogRequest>
pub fn as_open_modal(&self) -> Option<&OpenModalData>
Sourcepub fn get_block_id_string(&self) -> String
pub fn get_block_id_string(&self) -> String
Serialize the immutable properties of the type to be used for an ActionItemRequest’s BlockId.
Sourcepub fn diff_mutable_properties(
new_type: &ActionItemRequestType,
existing_item: &ActionItemRequestType,
) -> Option<ActionItemRequestType>
pub fn diff_mutable_properties( new_type: &ActionItemRequestType, existing_item: &ActionItemRequestType, ) -> Option<ActionItemRequestType>
Compares all properties of new_type against existing_type to determine if any of the mutable properties
of the type have been updated. Returns Some(new_type) if only mutable properties were updated, returns None
otherwise.
Trait Implementations§
Source§impl Clone for ActionItemRequestType
impl Clone for ActionItemRequestType
Source§fn clone(&self) -> ActionItemRequestType
fn clone(&self) -> ActionItemRequestType
Returns a duplicate 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 ActionItemRequestType
impl Debug for ActionItemRequestType
Source§impl<'de> Deserialize<'de> for ActionItemRequestType
impl<'de> Deserialize<'de> for ActionItemRequestType
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 ActionItemRequestType
impl PartialEq for ActionItemRequestType
Source§impl Serialize for ActionItemRequestType
impl Serialize for ActionItemRequestType
impl StructuralPartialEq for ActionItemRequestType
Auto Trait Implementations§
impl Freeze for ActionItemRequestType
impl RefUnwindSafe for ActionItemRequestType
impl Send for ActionItemRequestType
impl Sync for ActionItemRequestType
impl Unpin for ActionItemRequestType
impl UnwindSafe for ActionItemRequestType
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