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