pub struct DestinationView {
pub name: String,
pub kind: Kind,
pub target: String,
pub events: Vec<EventKind>,
pub department: Option<String>,
pub department_exists: Option<bool>,
pub pending: i64,
pub delivered: i64,
pub abandoned: i64,
pub last_delivered_at: Option<DateTime<Utc>>,
pub last_error: Option<String>,
pub last_error_at: Option<DateTime<Utc>>,
}Expand description
One destination, as the screen shows it.
Fields§
§name: String§kind: Kind§target: StringThe host or the chat - never the credential.
events: Vec<EventKind>§department: Option<String>§department_exists: Option<bool>Whether the department it names exists. false is a destination that
will hear nothing at all - a rename, or a typo in the environment -
and the one place that can say so is here.
pending: i64§delivered: i64§abandoned: i64§last_delivered_at: Option<DateTime<Utc>>§last_error: Option<String>§last_error_at: Option<DateTime<Utc>>Trait Implementations§
Source§impl Debug for DestinationView
impl Debug for DestinationView
Auto Trait Implementations§
impl Freeze for DestinationView
impl RefUnwindSafe for DestinationView
impl Send for DestinationView
impl Sync for DestinationView
impl Unpin for DestinationView
impl UnsafeUnpin for DestinationView
impl UnwindSafe for DestinationView
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
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more