pub struct GetCurrentProposerResponse {
pub proposer: Option<ValidatorSummary>,
}Expand description
Response for GetCurrentProposerRequest.
Fields§
§proposer: Option<ValidatorSummary>Elected proposer, or None if the height is out of range.
Trait Implementations§
Source§impl Clone for GetCurrentProposerResponse
impl Clone for GetCurrentProposerResponse
Source§fn clone(&self) -> GetCurrentProposerResponse
fn clone(&self) -> GetCurrentProposerResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 GetCurrentProposerResponse
impl Debug for GetCurrentProposerResponse
Source§impl<'de> Deserialize<'de> for GetCurrentProposerResponse
impl<'de> Deserialize<'de> for GetCurrentProposerResponse
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
Auto Trait Implementations§
impl Freeze for GetCurrentProposerResponse
impl RefUnwindSafe for GetCurrentProposerResponse
impl Send for GetCurrentProposerResponse
impl Sync for GetCurrentProposerResponse
impl Unpin for GetCurrentProposerResponse
impl UnsafeUnpin for GetCurrentProposerResponse
impl UnwindSafe for GetCurrentProposerResponse
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