pub struct UpstreamOrderRow {Show 17 fields
pub order_id: Uuid,
pub upstream_order_url: String,
pub upstream_finalize_url: Option<String>,
pub upstream_certificate_url: Option<String>,
pub status: String,
pub error: Option<String>,
pub created_at: i64,
pub updated_at: i64,
pub client_ip: Option<String>,
pub client_ptr: Option<String>,
pub user_agent: Option<String>,
pub request_id: Option<String>,
pub profile: String,
pub account_id: Uuid,
pub identifiers: Vec<Identifier>,
pub local_status: OrderStatus,
pub local_expires: i64,
}Expand description
One upstream_orders row joined to its local order, for the operator
surface (acme-proxy upstream order list, GET /api/upstream-orders).
csr_der is deliberately not a field. It is the end client’s CSR, kept
only so an interrupted relay can finalize; no operator view has a reason to
render DER, and leaving it off the struct makes that structural rather than
a rule a renderer has to remember. The relay flow keeps using
UpstreamOrder (which carries it) via UpstreamOrder::find_by_order_id.
Fields§
§order_id: Uuid§upstream_order_url: String§upstream_finalize_url: Option<String>§upstream_certificate_url: Option<String>§status: String§error: Option<String>Text the upstream CA wrote — untrusted, HTML-escape it on any web surface.
created_at: i64§updated_at: i64§client_ip: Option<String>§client_ptr: Option<String>§user_agent: Option<String>The finalize request’s User-Agent — caller-controlled, untrusted.
request_id: Option<String>§profile: String§account_id: Uuid§identifiers: Vec<Identifier>§local_status: OrderStatus§local_expires: i64Implementations§
Source§impl UpstreamOrderRow
impl UpstreamOrderRow
Sourcepub fn client(&self) -> ClientContext
pub fn client(&self) -> ClientContext
The stored finalize context, in the shape an audit row takes — the
UpstreamOrder::client equivalent for the joined row.
Trait Implementations§
Source§impl Clone for UpstreamOrderRow
impl Clone for UpstreamOrderRow
Auto Trait Implementations§
impl Freeze for UpstreamOrderRow
impl RefUnwindSafe for UpstreamOrderRow
impl Send for UpstreamOrderRow
impl Sync for UpstreamOrderRow
impl Unpin for UpstreamOrderRow
impl UnsafeUnpin for UpstreamOrderRow
impl UnwindSafe for UpstreamOrderRow
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<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