pub struct RateHint {
pub hint_type: RateHintType,
pub target_rate_x10: u16,
pub burst_allowance: u16,
pub duration_secs: u16,
pub region_id: Option<u32>,
}Available on crate feature
extensions only.Expand description
A dynamic rate hint sent during the session
Fields§
§hint_type: RateHintTypeType of hint
target_rate_x10: u16Target rate (updates per second * 10)
burst_allowance: u16Burst allowance
duration_secs: u16Suggested duration (0 = indefinite)
region_id: Option<u32>Region ID (only for Region type hints)
Implementations§
Source§impl RateHint
impl RateHint
Trait Implementations§
impl Eq for RateHint
impl StructuralPartialEq for RateHint
Auto Trait Implementations§
impl Freeze for RateHint
impl RefUnwindSafe for RateHint
impl Send for RateHint
impl Sync for RateHint
impl Unpin for RateHint
impl UnwindSafe for RateHint
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