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.\nDescribes 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§fn clone_from(&mut self, source: &Self)
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<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<&BandwidthRequests> for BandwidthRequests
impl From<&BandwidthRequests> for BandwidthRequests
Source§fn from(value: &BandwidthRequests) -> Self
fn from(value: &BandwidthRequests) -> Self
Converts to this type from the input type.
Source§impl From<BandwidthRequestsV1> for BandwidthRequests
impl From<BandwidthRequestsV1> for BandwidthRequests
Source§fn from(value: BandwidthRequestsV1) -> Self
fn from(value: BandwidthRequestsV1) -> Self
Converts to this type from the input type.
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