pub struct ResolveEgressPathV1Response {
pub domain: String,
pub source: String,
pub mx: Option<MxResolution>,
pub queue_name: String,
pub queue_config: Value,
pub path_config: EgressPathConfig,
pub constraints: EffectiveConstraints,
}Expand description
Response body for the resolve-egress-path endpoint.
{{since(‘dev’)}}
Fields§
§domain: String§source: String§mx: Option<MxResolution>MX resolution result. None when MX lookup wasn’t applicable
(e.g. non-SMTP protocols) or failed (e.g. internal sentinel
domains, network errors).
queue_name: StringThe ready-queue name that this domain/source pair would resolve to. Lets the caller pivot to inspect-ready-q for live runtime detail when the queue exists.
queue_config: ValueSnapshot of the resolved scheduled-queue configuration for
this domain. Carried as an untyped JSON object because
QueueConfig contains protocol variants that don’t all
round-trip cleanly through the OpenAPI schema.
path_config: EgressPathConfig§constraints: EffectiveConstraintsTrait Implementations§
Source§impl ComposeSchema for ResolveEgressPathV1Response
impl ComposeSchema for ResolveEgressPathV1Response
Source§impl Debug for ResolveEgressPathV1Response
impl Debug for ResolveEgressPathV1Response
Source§impl<'de> Deserialize<'de> for ResolveEgressPathV1Response
impl<'de> Deserialize<'de> for ResolveEgressPathV1Response
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<'__r> ToResponse<'__r> for ResolveEgressPathV1Response
impl<'__r> ToResponse<'__r> for ResolveEgressPathV1Response
Auto Trait Implementations§
impl Freeze for ResolveEgressPathV1Response
impl !RefUnwindSafe for ResolveEgressPathV1Response
impl Send for ResolveEgressPathV1Response
impl Sync for ResolveEgressPathV1Response
impl Unpin for ResolveEgressPathV1Response
impl !UnwindSafe for ResolveEgressPathV1Response
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