pub struct SinkOutcome {
pub sink: String,
pub error: Option<String>,
}Expand description
What one sink made of one alert.
Names the sink by its [dog.bark.sinks] config key, never by its
webhook URL or bearer token, so Bark stays safe to print with a
derived Debug.
Fields§
§sink: StringThe sink’s name from [dog.bark.sinks].
error: Option<String>None when it was delivered; the failure otherwise.
Trait Implementations§
Source§impl Clone for SinkOutcome
impl Clone for SinkOutcome
Source§fn clone(&self) -> SinkOutcome
fn clone(&self) -> SinkOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SinkOutcome
impl Debug for SinkOutcome
Source§impl<'de> Deserialize<'de> for SinkOutcome
impl<'de> Deserialize<'de> for SinkOutcome
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 SinkOutcome
Source§impl PartialEq for SinkOutcome
impl PartialEq for SinkOutcome
Source§impl Serialize for SinkOutcome
impl Serialize for SinkOutcome
impl StructuralPartialEq for SinkOutcome
Auto Trait Implementations§
impl Freeze for SinkOutcome
impl RefUnwindSafe for SinkOutcome
impl Send for SinkOutcome
impl Sync for SinkOutcome
impl Unpin for SinkOutcome
impl UnsafeUnpin for SinkOutcome
impl UnwindSafe for SinkOutcome
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>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.