pub struct ReceiptJson {
pub version: u16,
pub receipt_type: u16,
pub sender_address: Option<String>,
pub recipient_address: Option<String>,
pub target_address: Option<String>,
pub mosaic_id: Option<String>,
pub amount: Option<String>,
pub artifact_id: Option<String>,
}Expand description
レシート。種類によって使う項目が違う。
Fields§
§version: u16§receipt_type: u16§sender_address: Option<String>§recipient_address: Option<String>§target_address: Option<String>§mosaic_id: Option<String>§amount: Option<String>§artifact_id: Option<String>Trait Implementations§
Source§impl Clone for ReceiptJson
impl Clone for ReceiptJson
Source§fn clone(&self) -> ReceiptJson
fn clone(&self) -> ReceiptJson
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 ReceiptJson
impl Debug for ReceiptJson
Source§impl<'de> Deserialize<'de> for ReceiptJson
impl<'de> Deserialize<'de> for ReceiptJson
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 ReceiptJson
Source§impl From<&Receipt> for ReceiptJson
impl From<&Receipt> for ReceiptJson
Source§impl PartialEq for ReceiptJson
impl PartialEq for ReceiptJson
Source§impl Serialize for ReceiptJson
impl Serialize for ReceiptJson
impl StructuralPartialEq for ReceiptJson
Auto Trait Implementations§
impl Freeze for ReceiptJson
impl RefUnwindSafe for ReceiptJson
impl Send for ReceiptJson
impl Sync for ReceiptJson
impl Unpin for ReceiptJson
impl UnsafeUnpin for ReceiptJson
impl UnwindSafe for ReceiptJson
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