Enum slack_hook::Section
[−]
[src]
pub enum Section {
Pretext,
Text,
Fields,
}Sections define parts of an attachment.
Variants
PretextThe pretext section.
TextThe text section.
FieldsThe fields.
Trait Implementations
impl Eq for Section[src]
impl PartialEq for Section[src]
fn eq(&self, __arg_0: &Section) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Copy for Section[src]
impl Clone for Section[src]
fn clone(&self) -> Section
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