[−][src]Crate mmrs
Structs
MMBody | Custom struct to serialize the HTTP POST data into a json objecting using serde_json For a description of these fields see the Official MatterMost Developer Documentation |
Enums
MMRSError | Creating a custom error for mapping Errors to return result from the library handles The possible errors so far are BadJSONData and HTTPRequestError BadJSONData maps to a serde_json::error::Error HTTPRequestError maps to a reqwest::Error |
Functions
send_message | Main function of the library which asynchronously sends the request and returns the status code response. Will error out on a reqwest::Error if the send results in a failure |