pub enum BandwidthRequests {
V1(BandwidthRequestsV1),
}Expand description
A list of shard’s bandwidth requests. Describes how much the shard would like to send to other shards.
JSON schema
{
"description": "A list of shard's bandwidth requests.\n Describes how much the shard would like to send to other shards.",
"oneOf": [
{
"type": "object",
"required": [
"V1"
],
"properties": {
"V1": {
"$ref": "#/components/schemas/BandwidthRequestsV1"
}
},
"additionalProperties": false
}
]
}Variants§
Trait Implementations§
Source§impl Clone for BandwidthRequests
impl Clone for BandwidthRequests
Source§fn clone(&self) -> BandwidthRequests
fn clone(&self) -> BandwidthRequests
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 BandwidthRequests
impl Debug for BandwidthRequests
Source§impl<'de> Deserialize<'de> for BandwidthRequests
impl<'de> Deserialize<'de> for BandwidthRequests
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BandwidthRequests, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BandwidthRequests, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&BandwidthRequests> for BandwidthRequests
impl From<&BandwidthRequests> for BandwidthRequests
Source§fn from(value: &BandwidthRequests) -> BandwidthRequests
fn from(value: &BandwidthRequests) -> BandwidthRequests
Converts to this type from the input type.
Source§impl From<BandwidthRequestsV1> for BandwidthRequests
impl From<BandwidthRequestsV1> for BandwidthRequests
Source§fn from(value: BandwidthRequestsV1) -> BandwidthRequests
fn from(value: BandwidthRequestsV1) -> BandwidthRequests
Converts to this type from the input type.
Source§impl Serialize for BandwidthRequests
impl Serialize for BandwidthRequests
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 BandwidthRequests
impl RefUnwindSafe for BandwidthRequests
impl Send for BandwidthRequests
impl Sync for BandwidthRequests
impl Unpin for BandwidthRequests
impl UnwindSafe for BandwidthRequests
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