sendblue 0.5.0

SendBlue is a Rust library that provides an API client for interacting with the SendBlue REST API, enabling businesses to integrate iMessage and SMS services into their applications.
1
2
3
4
5
6
7
use serde::Serialize;

/// Trait for messages that can be sent
pub trait SendableMessage: Serialize {
    fn endpoint() -> &'static str;
    type ResponseType: for<'de> serde::Deserialize<'de>;
}