pub struct JsGetActiveContractsResponse {
pub workflow_id: String,
pub contract_entry: Box<JsContractEntry>,
}
Fields§
§workflow_id: String
The workflow ID used in command submission which corresponds to the contract_entry. Only set if the workflow_id
for the command was set. Must be a valid LedgerString (as described in value.proto
). Optional
contract_entry: Box<JsContractEntry>
Implementations§
Source§impl JsGetActiveContractsResponse
impl JsGetActiveContractsResponse
pub fn new( workflow_id: String, contract_entry: JsContractEntry, ) -> JsGetActiveContractsResponse
Trait Implementations§
Source§impl Clone for JsGetActiveContractsResponse
impl Clone for JsGetActiveContractsResponse
Source§fn clone(&self) -> JsGetActiveContractsResponse
fn clone(&self) -> JsGetActiveContractsResponse
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 JsGetActiveContractsResponse
impl Debug for JsGetActiveContractsResponse
Source§impl Default for JsGetActiveContractsResponse
impl Default for JsGetActiveContractsResponse
Source§fn default() -> JsGetActiveContractsResponse
fn default() -> JsGetActiveContractsResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JsGetActiveContractsResponse
impl<'de> Deserialize<'de> for JsGetActiveContractsResponse
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 JsGetActiveContractsResponse
impl PartialEq for JsGetActiveContractsResponse
Source§fn eq(&self, other: &JsGetActiveContractsResponse) -> bool
fn eq(&self, other: &JsGetActiveContractsResponse) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for JsGetActiveContractsResponse
Auto Trait Implementations§
impl Freeze for JsGetActiveContractsResponse
impl RefUnwindSafe for JsGetActiveContractsResponse
impl Send for JsGetActiveContractsResponse
impl Sync for JsGetActiveContractsResponse
impl Unpin for JsGetActiveContractsResponse
impl UnwindSafe for JsGetActiveContractsResponse
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