[−][src]Struct dayu::Dayu
Methods
impl Dayu
[src]
pub fn new() -> Dayu
[src]
construct new dayu sdk instance
pub fn set_access_key(&mut self, access_key: &str)
[src]
set dayu sdk's access key
pub fn set_access_secret(&mut self, access_secret: &str)
[src]
set dayu sdk's access secret
pub fn set_sign_name(&mut self, sign_name: &str)
[src]
set dayu sdk's sign name
pub fn sms_send<T: AsRef<str>>(
&self,
phones: &[T],
template_code: &str,
template_param: Option<&Value>
) -> impl Future<Item = DayuSendResponse, Error = ErrorKind>
[src]
&self,
phones: &[T],
template_code: &str,
template_param: Option<&Value>
) -> impl Future<Item = DayuSendResponse, Error = ErrorKind>
start send sms phones: support multi phone number template_code: SMS TEMPLATE CODE template_param: SMS TEMPLATE PARAMS as JSON
pub fn sms_query(
&self,
phone_number: &str,
biz_id: Option<&str>,
send_date: NaiveDate,
current_page: u8,
page_size: u8
) -> impl Future<Item = DayuQueryResponse, Error = ErrorKind>
[src]
&self,
phone_number: &str,
biz_id: Option<&str>,
send_date: NaiveDate,
current_page: u8,
page_size: u8
) -> impl Future<Item = DayuQueryResponse, Error = ErrorKind>
query sms send detail
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Erased for T
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,