pub struct ExternalEventHandler { /* private fields */ }
Implementations§
Source§impl ExternalEventHandler
impl ExternalEventHandler
pub fn new(client: FilesClient) -> Self
pub async fn list( &self, cursor: Option<String>, per_page: Option<i64>, ) -> Result<(Vec<ExternalEventEntity>, PaginationInfo)>
pub async fn get(&self, id: i64) -> Result<ExternalEventEntity>
pub async fn create(&self, params: Value) -> Result<ExternalEventEntity>
Auto Trait Implementations§
impl Freeze for ExternalEventHandler
impl !RefUnwindSafe for ExternalEventHandler
impl Send for ExternalEventHandler
impl Sync for ExternalEventHandler
impl Unpin for ExternalEventHandler
impl !UnwindSafe for ExternalEventHandler
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