pub struct InjectV1Response {
pub success_count: usize,
pub fail_count: usize,
pub failed_recipients: Vec<String>,
pub errors: Vec<String>,
}Fields§
§success_count: usizeThe number of messages that were injected successfully
fail_count: usizeThe number of messages that failed to inject
failed_recipients: Vec<String>The list of failed recipients
errors: Vec<String>The list of error messages
Trait Implementations§
Source§impl ComposeSchema for InjectV1Response
impl ComposeSchema for InjectV1Response
Source§impl Debug for InjectV1Response
impl Debug for InjectV1Response
Source§impl<'de> Deserialize<'de> for InjectV1Response
impl<'de> Deserialize<'de> for InjectV1Response
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
Source§impl Serialize for InjectV1Response
impl Serialize for InjectV1Response
Source§impl<'__r> ToResponse<'__r> for InjectV1Response
impl<'__r> ToResponse<'__r> for InjectV1Response
Auto Trait Implementations§
impl Freeze for InjectV1Response
impl RefUnwindSafe for InjectV1Response
impl Send for InjectV1Response
impl Sync for InjectV1Response
impl Unpin for InjectV1Response
impl UnwindSafe for InjectV1Response
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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