pub struct SubmitAndWaitResponse {
pub update_id: String,
pub completion_offset: i64,
}
Fields§
§update_id: String
The id of the transaction that resulted from the submitted command. Must be a valid LedgerString (as described in value.proto
). Required
completion_offset: i64
The details of the offset field are described in community/ledger-api/README.md
. Required
Implementations§
Source§impl SubmitAndWaitResponse
impl SubmitAndWaitResponse
pub fn new(update_id: String, completion_offset: i64) -> SubmitAndWaitResponse
Trait Implementations§
Source§impl Clone for SubmitAndWaitResponse
impl Clone for SubmitAndWaitResponse
Source§fn clone(&self) -> SubmitAndWaitResponse
fn clone(&self) -> SubmitAndWaitResponse
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 SubmitAndWaitResponse
impl Debug for SubmitAndWaitResponse
Source§impl Default for SubmitAndWaitResponse
impl Default for SubmitAndWaitResponse
Source§fn default() -> SubmitAndWaitResponse
fn default() -> SubmitAndWaitResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SubmitAndWaitResponse
impl<'de> Deserialize<'de> for SubmitAndWaitResponse
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 SubmitAndWaitResponse
impl PartialEq for SubmitAndWaitResponse
Source§impl Serialize for SubmitAndWaitResponse
impl Serialize for SubmitAndWaitResponse
impl StructuralPartialEq for SubmitAndWaitResponse
Auto Trait Implementations§
impl Freeze for SubmitAndWaitResponse
impl RefUnwindSafe for SubmitAndWaitResponse
impl Send for SubmitAndWaitResponse
impl Sync for SubmitAndWaitResponse
impl Unpin for SubmitAndWaitResponse
impl UnwindSafe for SubmitAndWaitResponse
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