pub struct Sagas {
pub client: Client,
}
Fields§
§client: Client
Implementations§
Source§impl Sagas
impl Sagas
Sourcepub async fn get_page(
&self,
limit: u32,
page_token: &str,
sort_by: IdSortMode,
) -> Result<Vec<Saga>>
pub async fn get_page( &self, limit: u32, page_token: &str, sort_by: IdSortMode, ) -> Result<Vec<Saga>>
List sagas.
This function performs a GET
to the /sagas
endpoint.
Parameters:
limit: u32
– Maximum number of items returned by a single call.page_token: &str
– Token returned by previous call to retrieve the subsequent page.sort_by: crate::types::IdSortMode
– Supported set of sort modes for scanning by id only.
Currently, we only support scanning in ascending order.
Auto Trait Implementations§
impl Freeze for Sagas
impl !RefUnwindSafe for Sagas
impl Send for Sagas
impl Sync for Sagas
impl Unpin for Sagas
impl !UnwindSafe for Sagas
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