pub struct SendTransactionRequest {
pub check_expectation_action_uuid: Option<ConstructDid>,
pub signer_uuid: ConstructDid,
pub expected_signer_address: Option<String>,
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>§payload: Value§formatted_payload: Option<Value>§namespace: String§network_id: StringImplementations§
Source§impl SendTransactionRequest
impl SendTransactionRequest
pub fn new( signer_uuid: &Did, payload: &Value, namespace: &str, network_id: &str, ) -> 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 SendTransactionRequest
impl Clone for SendTransactionRequest
Source§fn clone(&self) -> SendTransactionRequest
fn clone(&self) -> SendTransactionRequest
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 SendTransactionRequest
impl Debug for SendTransactionRequest
Source§impl<'de> Deserialize<'de> for SendTransactionRequest
impl<'de> Deserialize<'de> for SendTransactionRequest
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 SendTransactionRequest
impl PartialEq for SendTransactionRequest
Source§impl Serialize for SendTransactionRequest
impl Serialize for SendTransactionRequest
impl StructuralPartialEq for SendTransactionRequest
Auto Trait Implementations§
impl Freeze for SendTransactionRequest
impl RefUnwindSafe for SendTransactionRequest
impl Send for SendTransactionRequest
impl Sync for SendTransactionRequest
impl Unpin for SendTransactionRequest
impl UnwindSafe for SendTransactionRequest
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