pub struct GovernanceLimits {
pub requests_per_window: u32,
pub tokens_per_window: u64,
pub window: Duration,
}Fields§
§requests_per_window: u32§tokens_per_window: u64§window: DurationTrait Implementations§
Source§impl Clone for GovernanceLimits
impl Clone for GovernanceLimits
Source§fn clone(&self) -> GovernanceLimits
fn clone(&self) -> GovernanceLimits
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GovernanceLimits
Source§impl Debug for GovernanceLimits
impl Debug for GovernanceLimits
impl Eq for GovernanceLimits
Source§impl PartialEq for GovernanceLimits
impl PartialEq for GovernanceLimits
impl StructuralPartialEq for GovernanceLimits
Auto Trait Implementations§
impl Freeze for GovernanceLimits
impl RefUnwindSafe for GovernanceLimits
impl Send for GovernanceLimits
impl Sync for GovernanceLimits
impl Unpin for GovernanceLimits
impl UnsafeUnpin for GovernanceLimits
impl UnwindSafe for GovernanceLimits
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