Struct slack_api::groups::RenameRequest
[−]
[src]
pub struct RenameRequest<'a> { pub channel: &'a str, pub name: &'a str, pub validate: Option<bool>, }
Fields
channel: &'a str
Private channel to rename
name: &'a str
New name for private channel.
validate: Option<bool>
Whether to return errors on invalid channel name instead of modifying it to meet the specified criteria.
Trait Implementations
impl<'a> Clone for RenameRequest<'a>
[src]
fn clone(&self) -> RenameRequest<'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 RenameRequest<'a>
[src]
fn default() -> RenameRequest<'a>
Returns the "default value" for a type. Read more