pub struct AttachmentService<'a> { /* private fields */ }Implementations§
Source§impl<'a> AttachmentService<'a>
impl<'a> AttachmentService<'a>
pub fn send( &self, target: MessageTarget, request: AttachmentSendRequest, ) -> ImResult<AttachmentSendResult>
pub fn send_conversation( &self, request: SendConversationAttachmentRequest, ) -> ImResult<AttachmentSendResult>
pub async fn send_conversation_async( &self, request: SendConversationAttachmentRequest, ) -> ImResult<AttachmentSendResult>
pub async fn send_async( &self, target: MessageTarget, request: AttachmentSendRequest, ) -> ImResult<AttachmentSendResult>
pub fn download( &self, request: DownloadAttachmentRequest, ) -> ImResult<DownloadedAttachment>
pub async fn download_async( &self, request: DownloadAttachmentRequest, ) -> ImResult<DownloadedAttachment>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for AttachmentService<'a>
impl<'a> !UnwindSafe for AttachmentService<'a>
impl<'a> Freeze for AttachmentService<'a>
impl<'a> Send for AttachmentService<'a>
impl<'a> Sync for AttachmentService<'a>
impl<'a> Unpin for AttachmentService<'a>
impl<'a> UnsafeUnpin for AttachmentService<'a>
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