pub struct RateLimitValueUsage { /* private fields */ }Implementations§
Source§impl RateLimitValueUsage
impl RateLimitValueUsage
pub fn operation_cents<T>(self, value: T) -> Self
pub fn pending_cents<T>(self, value: T) -> Self
pub fn type_<T>(self, value: T) -> Self
pub fn window_cents<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for RateLimitValueUsage
impl Clone for RateLimitValueUsage
Source§impl Debug for RateLimitValueUsage
impl Debug for RateLimitValueUsage
Source§impl Default for RateLimitValueUsage
impl Default for RateLimitValueUsage
Source§impl From<RateLimitValueUsage> for RateLimitValueUsage
impl From<RateLimitValueUsage> for RateLimitValueUsage
Source§fn from(value: RateLimitValueUsage) -> Self
fn from(value: RateLimitValueUsage) -> Self
Converts to this type from the input type.
Source§impl TryFrom<RateLimitValueUsage> for RateLimitValueUsage
impl TryFrom<RateLimitValueUsage> for RateLimitValueUsage
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: RateLimitValueUsage) -> Result<Self, ConversionError>
fn try_from(value: RateLimitValueUsage) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for RateLimitValueUsage
impl RefUnwindSafe for RateLimitValueUsage
impl Send for RateLimitValueUsage
impl Sync for RateLimitValueUsage
impl Unpin for RateLimitValueUsage
impl UnsafeUnpin for RateLimitValueUsage
impl UnwindSafe for RateLimitValueUsage
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