Struct slack_api::reminders::AddRequest
[−]
[src]
pub struct AddRequest<'a> { pub text: &'a str, pub time: u32, pub user: Option<&'a str>, }
Fields
text: &'a str
The content of the reminder
time: u32
When this reminder should happen: the Unix timestamp (up to five years from now), the number of seconds until the reminder (if within 24 hours), or a natural language description (Ex. "in 15 minutes," or "every Thursday")
user: Option<&'a str>
The user who will receive the reminder. If no user is specified, the reminder will go to user who created it.
Trait Implementations
impl<'a> Clone for AddRequest<'a>
[src]
fn clone(&self) -> AddRequest<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<'a> Default for AddRequest<'a>
[src]
fn default() -> AddRequest<'a>
Returns the "default value" for a type. Read more