pub struct RpcSplitStorageInfoResponse {
    pub cold_head_height: Option<u64>,
    pub final_head_height: Option<u64>,
    pub head_height: Option<u64>,
    pub hot_db_kind: Option<String>,
}Expand description
Contains the split storage information.
JSON schema
{
 "description": "Contains the split storage information.",
 "type": "object",
 "properties": {
   "cold_head_height": {
     "type": [
       "integer",
       "null"
     ],
     "format": "uint64",
     "minimum": 0.0
   },
   "final_head_height": {
     "type": [
       "integer",
       "null"
     ],
     "format": "uint64",
     "minimum": 0.0
   },
   "head_height": {
     "type": [
       "integer",
       "null"
     ],
     "format": "uint64",
     "minimum": 0.0
   },
   "hot_db_kind": {
     "type": [
       "string",
       "null"
     ]
   }
 }
}Fields§
§cold_head_height: Option<u64>§final_head_height: Option<u64>§head_height: Option<u64>§hot_db_kind: Option<String>Trait Implementations§
Source§impl Clone for RpcSplitStorageInfoResponse
 
impl Clone for RpcSplitStorageInfoResponse
Source§fn clone(&self) -> RpcSplitStorageInfoResponse
 
fn clone(&self) -> RpcSplitStorageInfoResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
 
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for RpcSplitStorageInfoResponse
 
impl Debug for RpcSplitStorageInfoResponse
Source§impl Default for RpcSplitStorageInfoResponse
 
impl Default for RpcSplitStorageInfoResponse
Source§fn default() -> RpcSplitStorageInfoResponse
 
fn default() -> RpcSplitStorageInfoResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RpcSplitStorageInfoResponse
 
impl<'de> Deserialize<'de> for RpcSplitStorageInfoResponse
Source§fn deserialize<__D>(
    __deserializer: __D,
) -> Result<RpcSplitStorageInfoResponse, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(
    __deserializer: __D,
) -> Result<RpcSplitStorageInfoResponse, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&RpcSplitStorageInfoResponse> for RpcSplitStorageInfoResponse
 
impl From<&RpcSplitStorageInfoResponse> for RpcSplitStorageInfoResponse
Source§fn from(value: &RpcSplitStorageInfoResponse) -> RpcSplitStorageInfoResponse
 
fn from(value: &RpcSplitStorageInfoResponse) -> RpcSplitStorageInfoResponse
Converts to this type from the input type.
Source§impl Serialize for RpcSplitStorageInfoResponse
 
impl Serialize for RpcSplitStorageInfoResponse
Source§fn serialize<__S>(
    &self,
    __serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,
 
fn serialize<__S>(
    &self,
    __serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for RpcSplitStorageInfoResponse
impl RefUnwindSafe for RpcSplitStorageInfoResponse
impl Send for RpcSplitStorageInfoResponse
impl Sync for RpcSplitStorageInfoResponse
impl Unpin for RpcSplitStorageInfoResponse
impl UnwindSafe for RpcSplitStorageInfoResponse
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