pub struct SinkStatus {
pub name: String,
pub errors: usize,
pub last_error: Option<String>,
}Expand description
External sink status for inclusion in health summaries.
Fields§
§name: StringSink name.
errors: usizeNumber of errors encountered.
last_error: Option<String>Most recent error message, if any.
Trait Implementations§
Source§impl Clone for SinkStatus
impl Clone for SinkStatus
Source§impl Debug for SinkStatus
impl Debug for SinkStatus
Source§impl<'de> Deserialize<'de> for SinkStatus
impl<'de> Deserialize<'de> for SinkStatus
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
Auto Trait Implementations§
impl Freeze for SinkStatus
impl RefUnwindSafe for SinkStatus
impl Send for SinkStatus
impl Sync for SinkStatus
impl Unpin for SinkStatus
impl UnsafeUnpin for SinkStatus
impl UnwindSafe for SinkStatus
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