pub struct VotingPublicKeyJson {
pub public_key: String,
pub start_epoch: u32,
pub end_epoch: u32,
}Fields§
§public_key: String§start_epoch: u32§end_epoch: u32Trait Implementations§
Source§impl Clone for VotingPublicKeyJson
impl Clone for VotingPublicKeyJson
Source§fn clone(&self) -> VotingPublicKeyJson
fn clone(&self) -> VotingPublicKeyJson
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 VotingPublicKeyJson
impl Debug for VotingPublicKeyJson
Source§impl<'de> Deserialize<'de> for VotingPublicKeyJson
impl<'de> Deserialize<'de> for VotingPublicKeyJson
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 VotingPublicKeyJson
Source§impl PartialEq for VotingPublicKeyJson
impl PartialEq for VotingPublicKeyJson
Source§impl Serialize for VotingPublicKeyJson
impl Serialize for VotingPublicKeyJson
impl StructuralPartialEq for VotingPublicKeyJson
Auto Trait Implementations§
impl Freeze for VotingPublicKeyJson
impl RefUnwindSafe for VotingPublicKeyJson
impl Send for VotingPublicKeyJson
impl Sync for VotingPublicKeyJson
impl Unpin for VotingPublicKeyJson
impl UnsafeUnpin for VotingPublicKeyJson
impl UnwindSafe for VotingPublicKeyJson
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