Struct slack_api::pins::AddRequest
[−]
[src]
pub struct AddRequest<'a> {
pub channel: &'a str,
pub file: Option<&'a str>,
pub file_comment: Option<&'a str>,
pub timestamp: Option<&'a str>,
}Fields
channel: &'a str
Channel to pin the item in.
file: Option<&'a str>
File to pin.
file_comment: Option<&'a str>
File comment to pin.
timestamp: Option<&'a str>
Timestamp of the message to pin.
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