pub struct SettlementIndexerCursor {
pub service_id: String,
pub chain_id: String,
pub last_indexed_block_number: Option<u64>,
pub canonical_block_number: u64,
pub lag_blocks: u64,
pub status: SettlementIndexerStatus,
pub checked_at: u64,
pub note: Option<String>,
}Fields§
§service_id: String§chain_id: String§last_indexed_block_number: Option<u64>§canonical_block_number: u64§lag_blocks: u64§status: SettlementIndexerStatus§checked_at: u64§note: Option<String>Implementations§
Source§impl SettlementIndexerCursor
impl SettlementIndexerCursor
pub fn from_blocks(input: SettlementIndexerCursorInput) -> Self
Trait Implementations§
Source§impl Clone for SettlementIndexerCursor
impl Clone for SettlementIndexerCursor
Source§fn clone(&self) -> SettlementIndexerCursor
fn clone(&self) -> SettlementIndexerCursor
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 SettlementIndexerCursor
impl Debug for SettlementIndexerCursor
Source§impl<'de> Deserialize<'de> for SettlementIndexerCursor
impl<'de> Deserialize<'de> for SettlementIndexerCursor
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 SettlementIndexerCursor
Source§impl PartialEq for SettlementIndexerCursor
impl PartialEq for SettlementIndexerCursor
Source§impl Serialize for SettlementIndexerCursor
impl Serialize for SettlementIndexerCursor
impl StructuralPartialEq for SettlementIndexerCursor
Auto Trait Implementations§
impl Freeze for SettlementIndexerCursor
impl RefUnwindSafe for SettlementIndexerCursor
impl Send for SettlementIndexerCursor
impl Sync for SettlementIndexerCursor
impl Unpin for SettlementIndexerCursor
impl UnsafeUnpin for SettlementIndexerCursor
impl UnwindSafe for SettlementIndexerCursor
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