pub struct ListProjectRateLimitsQueryArgs { /* private fields */ }Available on crate feature
administration-types only.Expand description
Builder for ListProjectRateLimitsQuery.
Implementations§
Source§impl ListProjectRateLimitsQueryArgs
impl ListProjectRateLimitsQueryArgs
Sourcepub fn limit<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
pub fn limit<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
A limit on the number of objects to be returned. The default is 100.
Sourcepub fn after<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn after<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
A cursor for use in pagination. after is an object ID that defines your place in the
list.
Sourcepub fn before<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn before<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
A cursor for use in pagination. before is an object ID that defines your place in the
list.
Sourcepub fn build(&self) -> Result<ListProjectRateLimitsQuery, OpenAIError>
pub fn build(&self) -> Result<ListProjectRateLimitsQuery, OpenAIError>
Trait Implementations§
Source§impl Clone for ListProjectRateLimitsQueryArgs
impl Clone for ListProjectRateLimitsQueryArgs
Source§fn clone(&self) -> ListProjectRateLimitsQueryArgs
fn clone(&self) -> ListProjectRateLimitsQueryArgs
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 moreAuto Trait Implementations§
impl Freeze for ListProjectRateLimitsQueryArgs
impl RefUnwindSafe for ListProjectRateLimitsQueryArgs
impl Send for ListProjectRateLimitsQueryArgs
impl Sync for ListProjectRateLimitsQueryArgs
impl Unpin for ListProjectRateLimitsQueryArgs
impl UnsafeUnpin for ListProjectRateLimitsQueryArgs
impl UnwindSafe for ListProjectRateLimitsQueryArgs
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