pub struct BatchListQuery {
pub after: Option<String>,
pub limit: Option<u32>,
}Expand description
Query parameters for listing batch processing tasks
Fields§
§after: Option<String>Pagination cursor: return results after this ID
limit: Option<u32>Page size (server default 20).
Implementations§
Source§impl BatchListQuery
impl BatchListQuery
Sourcepub fn with_after(self, after: impl Into<String>) -> Self
pub fn with_after(self, after: impl Into<String>) -> Self
Set the pagination cursor
Sourcepub fn with_limit(self, limit: u32) -> Self
pub fn with_limit(self, limit: u32) -> Self
Set the page size.
Trait Implementations§
Source§impl Clone for BatchListQuery
impl Clone for BatchListQuery
Source§fn clone(&self) -> BatchListQuery
fn clone(&self) -> BatchListQuery
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 moreSource§impl Debug for BatchListQuery
impl Debug for BatchListQuery
Source§impl Default for BatchListQuery
impl Default for BatchListQuery
Source§impl<'de> Deserialize<'de> for BatchListQuery
impl<'de> Deserialize<'de> for BatchListQuery
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for BatchListQuery
impl Serialize for BatchListQuery
Source§impl Validate for BatchListQuery
impl Validate for BatchListQuery
Source§impl<'v_a> ValidateArgs<'v_a> for BatchListQuery
impl<'v_a> ValidateArgs<'v_a> for BatchListQuery
Auto Trait Implementations§
impl Freeze for BatchListQuery
impl RefUnwindSafe for BatchListQuery
impl Send for BatchListQuery
impl Sync for BatchListQuery
impl Unpin for BatchListQuery
impl UnsafeUnpin for BatchListQuery
impl UnwindSafe for BatchListQuery
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