pub struct MediasApi { /* private fields */ }Implementations§
Source§impl MediasApi
impl MediasApi
pub fn new(http: Arc<HttpClient>) -> Self
pub async fn list(&self, params: &GetMediasParams) -> Result<GetMediasResponse>
pub async fn delete(&self, media_id: &str) -> Result<DeleteMediaResponse>
Auto Trait Implementations§
impl !RefUnwindSafe for MediasApi
impl !UnwindSafe for MediasApi
impl Freeze for MediasApi
impl Send for MediasApi
impl Sync for MediasApi
impl Unpin for MediasApi
impl UnsafeUnpin for MediasApi
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