pub struct CongestionInfoView {
pub allowed_shard: u16,
pub buffered_receipts_gas: String,
pub delayed_receipts_gas: String,
pub receipt_bytes: u64,
}Expand description
CongestionInfoView
JSON schema
{
"type": "object",
"required": [
"allowed_shard",
"buffered_receipts_gas",
"delayed_receipts_gas",
"receipt_bytes"
],
"properties": {
"allowed_shard": {
"type": "integer",
"format": "uint16",
"minimum": 0.0
},
"buffered_receipts_gas": {
"type": "string"
},
"delayed_receipts_gas": {
"type": "string"
},
"receipt_bytes": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
}
}
}Fields§
§allowed_shard: u16§buffered_receipts_gas: String§delayed_receipts_gas: String§receipt_bytes: u64Trait Implementations§
Source§impl Clone for CongestionInfoView
impl Clone for CongestionInfoView
Source§fn clone(&self) -> CongestionInfoView
fn clone(&self) -> CongestionInfoView
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 CongestionInfoView
impl Debug for CongestionInfoView
Source§impl<'de> Deserialize<'de> for CongestionInfoView
impl<'de> Deserialize<'de> for CongestionInfoView
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CongestionInfoView, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CongestionInfoView, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&CongestionInfoView> for CongestionInfoView
impl From<&CongestionInfoView> for CongestionInfoView
Source§fn from(value: &CongestionInfoView) -> CongestionInfoView
fn from(value: &CongestionInfoView) -> CongestionInfoView
Converts to this type from the input type.
Source§impl Serialize for CongestionInfoView
impl Serialize for CongestionInfoView
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 CongestionInfoView
impl RefUnwindSafe for CongestionInfoView
impl Send for CongestionInfoView
impl Sync for CongestionInfoView
impl Unpin for CongestionInfoView
impl UnwindSafe for CongestionInfoView
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