Struct shipcat_definitions::teams::SlackSet [−][src]
pub struct SlackSet { pub internal: Option<SlackChannel>, pub support: Option<SlackChannel>, pub notifications: Option<SlackChannel>, pub alerts: Option<SlackChannel>, }
Expand description
A set of slack channels
All channel ids must be slack guids (upper case starting with C) In general, one must supply at least one support or internal channel.
If neither notifications or alerts have been specified, these will end up in your internal or support channel.
Fields
internal: Option<SlackChannel>
An internal slack channel for humans (no notifications)
A place for the squad, tribe, or alliance. Internal.
support: Option<SlackChannel>
A slack channel for humans (no notifications)
A place to ask humans about things
notifications: Option<SlackChannel>
A slack channel for robots (non-urgent notifications)
Upgrade notifications, pr requests, jira tickets, non-critical alerts.
alerts: Option<SlackChannel>
A slack channel for robots (urgent notifications)
Test failures in prod, production issues,
Trait Implementations
impl<'de> Deserialize<'de> for SlackSet
[src]
impl<'de> Deserialize<'de> for SlackSet
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for SlackSet
impl Send for SlackSet
impl Sync for SlackSet
impl Unpin for SlackSet
impl UnwindSafe for SlackSet
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,