pub struct ArchivesManager { /* private fields */ }Expand description
Operations for the “archives” API area.
Implementations§
Source§impl ArchivesManager
impl ArchivesManager
Sourcepub fn list(&self, opts: Option<ArchivesListOptions>) -> ArchivesListPaginator
pub fn list(&self, opts: Option<ArchivesListOptions>) -> ArchivesListPaginator
Iterate every crate::models::schemas::Archive across pages, threading the cursor.
pub async fn create(&self, body: CreateArchiveRequest) -> Result<Archive, Error>
pub async fn update( &self, archive_id: String, body: UpdateArchiveRequest, ) -> Result<Archive, Error>
pub async fn delete(&self, archive_id: String) -> Result<(), Error>
Auto Trait Implementations§
impl !RefUnwindSafe for ArchivesManager
impl !UnwindSafe for ArchivesManager
impl Freeze for ArchivesManager
impl Send for ArchivesManager
impl Sync for ArchivesManager
impl Unpin for ArchivesManager
impl UnsafeUnpin for ArchivesManager
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