pub struct ResolutionStatementJson {
pub height: String,
pub unresolved: String,
pub resolution_entries: Vec<ResolutionEntryJson>,
}Expand description
ResolutionStatementDTO。
Fields§
§height: String§unresolved: Stringアドレスなら24バイトの16進、モザイクなら上位から書いた ID の16進
resolution_entries: Vec<ResolutionEntryJson>Implementations§
Source§impl ResolutionStatementJson
impl ResolutionStatementJson
Sourcepub fn from_address(height: u64, statement: &AddressResolutionStatement) -> Self
pub fn from_address(height: u64, statement: &AddressResolutionStatement) -> Self
アドレスの解決のステートメントを、REST が返す形にする。
Sourcepub fn from_mosaic(height: u64, statement: &MosaicResolutionStatement) -> Self
pub fn from_mosaic(height: u64, statement: &MosaicResolutionStatement) -> Self
モザイクの解決のステートメントを、REST が返す形にする。
Trait Implementations§
Source§impl Clone for ResolutionStatementJson
impl Clone for ResolutionStatementJson
Source§fn clone(&self) -> ResolutionStatementJson
fn clone(&self) -> ResolutionStatementJson
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 ResolutionStatementJson
impl Debug for ResolutionStatementJson
Source§impl<'de> Deserialize<'de> for ResolutionStatementJson
impl<'de> Deserialize<'de> for ResolutionStatementJson
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 ResolutionStatementJson
Source§impl PartialEq for ResolutionStatementJson
impl PartialEq for ResolutionStatementJson
Source§impl Serialize for ResolutionStatementJson
impl Serialize for ResolutionStatementJson
impl StructuralPartialEq for ResolutionStatementJson
Auto Trait Implementations§
impl Freeze for ResolutionStatementJson
impl RefUnwindSafe for ResolutionStatementJson
impl Send for ResolutionStatementJson
impl Sync for ResolutionStatementJson
impl Unpin for ResolutionStatementJson
impl UnsafeUnpin for ResolutionStatementJson
impl UnwindSafe for ResolutionStatementJson
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