Skip to main content

BodyJson

Struct BodyJson 

Source
pub struct BodyJson {
Show 50 fields pub linked_public_key: Option<String>, pub link_action: Option<u8>, pub start_epoch: Option<u32>, pub end_epoch: Option<u32>, pub mosaic_id: Option<String>, pub amount: Option<String>, pub duration: Option<String>, pub hash: Option<String>, pub recipient_address: Option<String>, pub secret: Option<String>, pub hash_algorithm: Option<u8>, pub proof: Option<String>, pub target_address: Option<String>, pub scoped_metadata_key: Option<String>, pub target_mosaic_id: Option<String>, pub target_namespace_id: Option<String>, pub value_size_delta: Option<i16>, pub value_size: Option<u16>, pub value: Option<String>, pub id: Option<String>, pub nonce: Option<u32>, pub flags: Option<u8>, pub divisibility: Option<u8>, pub delta: Option<String>, pub action: Option<u8>, pub source_address: Option<String>, pub min_removal_delta: Option<i8>, pub min_approval_delta: Option<i8>, pub address_additions: Option<Vec<String>>, pub address_deletions: Option<Vec<String>>, pub namespace_id: Option<String>, pub address: Option<String>, pub alias_action: Option<u8>, pub parent_id: Option<String>, pub registration_type: Option<u8>, pub name: Option<String>, pub restriction_flags: Option<u16>, pub restriction_additions: Option<Vec<RestrictionValue>>, pub restriction_deletions: Option<Vec<RestrictionValue>>, pub restriction_key: Option<String>, pub previous_restriction_value: Option<String>, pub new_restriction_value: Option<String>, pub reference_mosaic_id: Option<String>, pub previous_restriction_type: Option<u8>, pub new_restriction_type: Option<u8>, pub mosaics: Option<Vec<MosaicJson>>, pub message: Option<String>, pub transactions_hash: Option<String>, pub cosignatures: Option<Vec<CosignatureJson>>, pub transactions: Option<Vec<TransactionInfo>>,
}
Expand description

25種類の本体の項目をまとめたもの。種類によって使う項目が違う。

Fields§

§linked_public_key: Option<String>§link_action: Option<u8>§start_epoch: Option<u32>§end_epoch: Option<u32>§mosaic_id: Option<String>§amount: Option<String>§duration: Option<String>§hash: Option<String>§recipient_address: Option<String>§secret: Option<String>§hash_algorithm: Option<u8>§proof: Option<String>§target_address: Option<String>§scoped_metadata_key: Option<String>§target_mosaic_id: Option<String>§target_namespace_id: Option<String>§value_size_delta: Option<i16>§value_size: Option<u16>§value: Option<String>§id: Option<String>§nonce: Option<u32>§flags: Option<u8>§divisibility: Option<u8>§delta: Option<String>§action: Option<u8>§source_address: Option<String>§min_removal_delta: Option<i8>§min_approval_delta: Option<i8>§address_additions: Option<Vec<String>>§address_deletions: Option<Vec<String>>§namespace_id: Option<String>§address: Option<String>§alias_action: Option<u8>§parent_id: Option<String>§registration_type: Option<u8>§name: Option<String>

ネームスペースの名前。16進ではなく、そのままの文字列

§restriction_flags: Option<u16>§restriction_additions: Option<Vec<RestrictionValue>>§restriction_deletions: Option<Vec<RestrictionValue>>§restriction_key: Option<String>§previous_restriction_value: Option<String>§new_restriction_value: Option<String>§reference_mosaic_id: Option<String>§previous_restriction_type: Option<u8>§new_restriction_type: Option<u8>§mosaics: Option<Vec<MosaicJson>>§message: Option<String>§transactions_hash: Option<String>§cosignatures: Option<Vec<CosignatureJson>>§transactions: Option<Vec<TransactionInfo>>

ID かハッシュで1件取ったときだけ入る、中のトランザクション

Trait Implementations§

Source§

impl Clone for BodyJson

Source§

fn clone(&self) -> BodyJson

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for BodyJson

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for BodyJson

Source§

fn default() -> BodyJson

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for BodyJson

Source§

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 Eq for BodyJson

Source§

impl PartialEq for BodyJson

Source§

fn eq(&self, other: &BodyJson) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl Serialize for BodyJson

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for BodyJson

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.