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§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RpcSplitStorageInfoResponse
impl Debug for RpcSplitStorageInfoResponse
Source§impl<'de> Deserialize<'de> for RpcSplitStorageInfoResponse
impl<'de> Deserialize<'de> for RpcSplitStorageInfoResponse
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
Source§impl From<&RpcSplitStorageInfoResponse> for RpcSplitStorageInfoResponse
impl From<&RpcSplitStorageInfoResponse> for RpcSplitStorageInfoResponse
Source§fn from(value: &RpcSplitStorageInfoResponse) -> Self
fn from(value: &RpcSplitStorageInfoResponse) -> Self
Converts to this type from the input type.
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