Enum slack_hook::Section [−][src]
pub enum Section { Pretext, Text, Fields, }
Sections define parts of an attachment.
Variants
Pretext
The pretext section.
Text
The text section.
Fields
The fields.
Trait Implementations
impl Eq for Section
[src]
impl Eq for Section
impl PartialEq for Section
[src]
impl PartialEq for Section
fn eq(&self, other: &Section) -> bool
[src]
fn eq(&self, other: &Section) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Copy for Section
[src]
impl Copy for Section
impl Clone for Section
[src]
impl Clone for Section
fn clone(&self) -> Section
[src]
fn clone(&self) -> Section
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Section
[src]
impl Debug for Section