pub struct ClickwrapHandler { /* private fields */ }
Implementations§
Source§impl ClickwrapHandler
impl ClickwrapHandler
pub fn new(client: FilesClient) -> Self
pub async fn list( &self, cursor: Option<String>, per_page: Option<i64>, ) -> Result<(Vec<ClickwrapEntity>, PaginationInfo)>
pub async fn get(&self, id: i64) -> Result<ClickwrapEntity>
pub async fn create(&self, params: Value) -> Result<ClickwrapEntity>
pub async fn update(&self, id: i64, params: Value) -> Result<ClickwrapEntity>
pub async fn delete(&self, id: i64) -> Result<()>
Trait Implementations§
Source§impl Clone for ClickwrapHandler
impl Clone for ClickwrapHandler
Source§fn clone(&self) -> ClickwrapHandler
fn clone(&self) -> ClickwrapHandler
Returns a duplicate of the value. Read more
1.0.0 · 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 ClickwrapHandler
impl !RefUnwindSafe for ClickwrapHandler
impl Send for ClickwrapHandler
impl Sync for ClickwrapHandler
impl Unpin for ClickwrapHandler
impl !UnwindSafe for ClickwrapHandler
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