pub struct TransactionStatementJson {
pub height: String,
pub source: SourceJson,
pub receipts: Vec<ReceiptJson>,
}Expand description
TransactionStatementDTO。
Fields§
§height: String§source: SourceJson§receipts: Vec<ReceiptJson>Implementations§
Source§impl TransactionStatementJson
impl TransactionStatementJson
Sourcepub fn new(height: u64, statement: &TransactionStatement) -> Self
pub fn new(height: u64, statement: &TransactionStatement) -> Self
ステートメントを、REST が返す形にする。ステートメントは高さを持たないので、別に渡す。
Trait Implementations§
Source§impl Clone for TransactionStatementJson
impl Clone for TransactionStatementJson
Source§fn clone(&self) -> TransactionStatementJson
fn clone(&self) -> TransactionStatementJson
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TransactionStatementJson
impl Debug for TransactionStatementJson
Source§impl<'de> Deserialize<'de> for TransactionStatementJson
impl<'de> Deserialize<'de> for TransactionStatementJson
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
impl Eq for TransactionStatementJson
Source§impl PartialEq for TransactionStatementJson
impl PartialEq for TransactionStatementJson
Source§impl Serialize for TransactionStatementJson
impl Serialize for TransactionStatementJson
impl StructuralPartialEq for TransactionStatementJson
Auto Trait Implementations§
impl Freeze for TransactionStatementJson
impl RefUnwindSafe for TransactionStatementJson
impl Send for TransactionStatementJson
impl Sync for TransactionStatementJson
impl Unpin for TransactionStatementJson
impl UnsafeUnpin for TransactionStatementJson
impl UnwindSafe for TransactionStatementJson
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