pub struct RateLimitsUpdatedEventRateLimitBuilder(/* private fields */);Expand description
Builder for RateLimitsUpdatedEventRateLimit.
Implementations§
Source§impl RateLimitsUpdatedEventRateLimitBuilder
impl RateLimitsUpdatedEventRateLimitBuilder
pub fn limit(self, value: impl Into<Option<i64>>) -> Self
pub fn name( self, value: impl Into<Option<RateLimitsUpdatedEventRateLimitName>>, ) -> Self
pub fn remaining(self, value: impl Into<Option<i64>>) -> Self
pub fn reset_seconds(self, value: impl Into<Option<Number>>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> RateLimitsUpdatedEventRateLimit
pub fn build(self) -> RateLimitsUpdatedEventRateLimit
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for RateLimitsUpdatedEventRateLimitBuilder
impl RefUnwindSafe for RateLimitsUpdatedEventRateLimitBuilder
impl Send for RateLimitsUpdatedEventRateLimitBuilder
impl Sync for RateLimitsUpdatedEventRateLimitBuilder
impl Unpin for RateLimitsUpdatedEventRateLimitBuilder
impl UnsafeUnpin for RateLimitsUpdatedEventRateLimitBuilder
impl UnwindSafe for RateLimitsUpdatedEventRateLimitBuilder
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