pub struct GetCurrentProposerRequest {
pub height: u64,
}Expand description
get_current_proposer — who is elected proposer at a height.
Fields§
§height: u64The L2 height to query.
Implementations§
Trait Implementations§
Source§impl Clone for GetCurrentProposerRequest
impl Clone for GetCurrentProposerRequest
Source§fn clone(&self) -> GetCurrentProposerRequest
fn clone(&self) -> GetCurrentProposerRequest
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 GetCurrentProposerRequest
impl Debug for GetCurrentProposerRequest
Source§impl<'de> Deserialize<'de> for GetCurrentProposerRequest
impl<'de> Deserialize<'de> for GetCurrentProposerRequest
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 GetCurrentProposerRequest
impl RefUnwindSafe for GetCurrentProposerRequest
impl Send for GetCurrentProposerRequest
impl Sync for GetCurrentProposerRequest
impl Unpin for GetCurrentProposerRequest
impl UnsafeUnpin for GetCurrentProposerRequest
impl UnwindSafe for GetCurrentProposerRequest
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