pub struct DelegationJson {
pub main_public_key: Option<String>,
pub remote_public_key: String,
pub height: Option<String>,
pub state: DelegationStateJson,
pub reason: Option<String>,
}Expand description
/heika/delegations の1件。届いた委任の要求ごとに、引き受けたか、なぜ引き受けなかったか
Fields§
§main_public_key: Option<String>メインアカウントの公開鍵(16進)。わからなければ null
remote_public_key: String要求に入っていたリモートの鍵(16進)
height: Option<String>要求が入っていたブロックの高さ。わからなければ null
state: DelegationStateJson§reason: Option<String>Trait Implementations§
Source§impl Clone for DelegationJson
impl Clone for DelegationJson
Source§fn clone(&self) -> DelegationJson
fn clone(&self) -> DelegationJson
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 DelegationJson
impl Debug for DelegationJson
Source§impl<'de> Deserialize<'de> for DelegationJson
impl<'de> Deserialize<'de> for DelegationJson
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 DelegationJson
Source§impl PartialEq for DelegationJson
impl PartialEq for DelegationJson
Source§impl Serialize for DelegationJson
impl Serialize for DelegationJson
impl StructuralPartialEq for DelegationJson
Auto Trait Implementations§
impl Freeze for DelegationJson
impl RefUnwindSafe for DelegationJson
impl Send for DelegationJson
impl Sync for DelegationJson
impl Unpin for DelegationJson
impl UnsafeUnpin for DelegationJson
impl UnwindSafe for DelegationJson
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