pub struct RpsProfile {
pub name: String,
pub stages: Vec<RpsStage>,
}Expand description
RPS Profile for dynamic RPS changes
Fields§
§name: StringProfile name
stages: Vec<RpsStage>RPS stages (time in seconds, target RPS)
Implementations§
Source§impl RpsProfile
impl RpsProfile
Trait Implementations§
Source§impl Clone for RpsProfile
impl Clone for RpsProfile
Source§fn clone(&self) -> RpsProfile
fn clone(&self) -> RpsProfile
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 RpsProfile
impl Debug for RpsProfile
Source§impl<'de> Deserialize<'de> for RpsProfile
impl<'de> Deserialize<'de> for RpsProfile
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
Auto Trait Implementations§
impl Freeze for RpsProfile
impl RefUnwindSafe for RpsProfile
impl Send for RpsProfile
impl Sync for RpsProfile
impl Unpin for RpsProfile
impl UnwindSafe for RpsProfile
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