pub trait ResponseExt: Sealed {
// Required methods
fn chain_id(&self) -> Option<Digest>;
fn chain(&self) -> Option<&str>;
fn epoch(&self) -> Option<u64>;
fn checkpoint_height(&self) -> Option<u64>;
fn timestamp_ms(&self) -> Option<u64>;
fn timestamp(&self) -> Option<&str>;
fn lowest_available_checkpoint(&self) -> Option<u64>;
fn lowest_available_checkpoint_objects(&self) -> Option<u64>;
}Expand description
Extension trait used to facilitate retrieval of Sui specific data from responses
Required Methods§
fn chain_id(&self) -> Option<Digest>
fn chain(&self) -> Option<&str>
fn epoch(&self) -> Option<u64>
fn checkpoint_height(&self) -> Option<u64>
fn timestamp_ms(&self) -> Option<u64>
fn timestamp(&self) -> Option<&str>
fn lowest_available_checkpoint(&self) -> Option<u64>
fn lowest_available_checkpoint_objects(&self) -> Option<u64>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".