pub struct Message<'a> { /* private fields */ }Implementations§
Source§impl<'a> Message<'a>
impl<'a> Message<'a>
pub async fn list( &self, app_id: String, options: Option<MessageListOptions>, ) -> Result<ListResponseMessageOut>
pub async fn create( &self, app_id: String, message_in: MessageIn, options: Option<PostOptions>, ) -> Result<MessageOut>
pub async fn get(&self, app_id: String, msg_id: String) -> Result<MessageOut>
Auto Trait Implementations§
impl<'a> Freeze for Message<'a>
impl<'a> !RefUnwindSafe for Message<'a>
impl<'a> Send for Message<'a>
impl<'a> Sync for Message<'a>
impl<'a> Unpin for Message<'a>
impl<'a> !UnwindSafe for Message<'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