pub struct SlackSubscription {
pub id: Uuid,
pub workspace: String,
pub project: String,
pub team_role: Option<String>,
pub target: SlackSubscriptionTarget,
pub created_at: SystemTime,
}Expand description
One watched target, owned by one session.
Fields§
§id: Uuid§workspace: StringThe [[slack]] label this watches.
project: StringOwning project. Named project and team_role to match
GotifySubscription; a rename would decode to None and silently
reroute every worker’s subscription to the lead.
team_role: Option<String>§target: SlackSubscriptionTarget§created_at: SystemTimeTrait Implementations§
Source§impl Clone for SlackSubscription
impl Clone for SlackSubscription
Source§impl Debug for SlackSubscription
impl Debug for SlackSubscription
Source§impl<'de> Deserialize<'de> for SlackSubscription
impl<'de> Deserialize<'de> for SlackSubscription
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SlackSubscription
Source§impl PartialEq for SlackSubscription
impl PartialEq for SlackSubscription
Source§impl Serialize for SlackSubscription
impl Serialize for SlackSubscription
impl StructuralPartialEq for SlackSubscription
Auto Trait Implementations§
impl Freeze for SlackSubscription
impl RefUnwindSafe for SlackSubscription
impl Send for SlackSubscription
impl Sync for SlackSubscription
impl Unpin for SlackSubscription
impl UnsafeUnpin for SlackSubscription
impl UnwindSafe for SlackSubscription
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.