pub struct ProvideSignedTransactionRequest {
pub check_expectation_action_uuid: Option<ConstructDid>,
pub signer_uuid: ConstructDid,
pub expected_signer_address: Option<String>,
pub skippable: bool,
pub only_approval_needed: bool,
pub payload: Value,
pub formatted_payload: Option<Value>,
pub namespace: String,
pub network_id: String,
}Fields§
§check_expectation_action_uuid: Option<ConstructDid>§signer_uuid: ConstructDid§expected_signer_address: Option<String>§skippable: bool§only_approval_needed: bool§payload: Value§formatted_payload: Option<Value>§namespace: String§network_id: StringImplementations§
Source§impl ProvideSignedTransactionRequest
impl ProvideSignedTransactionRequest
pub fn new( signer_uuid: &Did, payload: &Value, namespace: &str, network_id: &str, ) -> Self
pub fn skippable(&mut self, is_skippable: bool) -> &mut Self
pub fn only_approval_needed(&mut self) -> &mut Self
pub fn check_expectation_action_uuid( &mut self, uuid: &ConstructDid, ) -> &mut Self
pub fn expected_signer_address(&mut self, address: Option<&str>) -> &mut Self
pub fn formatted_payload( &mut self, display_payload: Option<&Value>, ) -> &mut Self
pub fn to_action_type(&self) -> ActionItemRequestType
Trait Implementations§
Source§impl Clone for ProvideSignedTransactionRequest
impl Clone for ProvideSignedTransactionRequest
Source§fn clone(&self) -> ProvideSignedTransactionRequest
fn clone(&self) -> ProvideSignedTransactionRequest
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<'de> Deserialize<'de> for ProvideSignedTransactionRequest
impl<'de> Deserialize<'de> for ProvideSignedTransactionRequest
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 ProvideSignedTransactionRequest
impl PartialEq for ProvideSignedTransactionRequest
Source§fn eq(&self, other: &ProvideSignedTransactionRequest) -> bool
fn eq(&self, other: &ProvideSignedTransactionRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProvideSignedTransactionRequest
Auto Trait Implementations§
impl Freeze for ProvideSignedTransactionRequest
impl RefUnwindSafe for ProvideSignedTransactionRequest
impl Send for ProvideSignedTransactionRequest
impl Sync for ProvideSignedTransactionRequest
impl Unpin for ProvideSignedTransactionRequest
impl UnwindSafe for ProvideSignedTransactionRequest
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