pub struct GetSlashingDbResponse {
pub last_proposed_slot: u64,
pub last_attested_source: u64,
pub last_attested_target: u64,
pub last_attested_root: HashHex,
}Expand description
Response for GetSlashingDbRequest.
Fields§
§last_proposed_slot: u64Most-recent proposed slot.
last_attested_source: u64Most-recent attestation source epoch.
last_attested_target: u64Most-recent attestation target epoch.
last_attested_root: HashHexMost-recent attested beacon-block-root.
Trait Implementations§
Source§impl Clone for GetSlashingDbResponse
impl Clone for GetSlashingDbResponse
Source§fn clone(&self) -> GetSlashingDbResponse
fn clone(&self) -> GetSlashingDbResponse
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 GetSlashingDbResponse
impl Debug for GetSlashingDbResponse
Source§impl<'de> Deserialize<'de> for GetSlashingDbResponse
impl<'de> Deserialize<'de> for GetSlashingDbResponse
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 GetSlashingDbResponse
impl RefUnwindSafe for GetSlashingDbResponse
impl Send for GetSlashingDbResponse
impl Sync for GetSlashingDbResponse
impl Unpin for GetSlashingDbResponse
impl UnsafeUnpin for GetSlashingDbResponse
impl UnwindSafe for GetSlashingDbResponse
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