pub struct ApprovalPreviewFire {
pub local_time: String,
pub utc_time: String,
pub zone_label: String,
}Expand description
One fire instant rendered for a human in ApprovalPreview: the same
real instant twice, RFC3339 in ApprovalPreview::zone_name and in UTC.
Fields§
§local_time: StringRFC3339 instant in ApprovalPreview::zone_name’s local wall clock.
utc_time: StringThe identical instant, RFC3339 in UTC. Carried for the audit path;
approval_preview_text does not render it (#1808).
zone_label: StringHow this instant’s zone reads to a human — PDT (UTC-7) — or EMPTY
when ApprovalPreview::cadence already states it for every run.
The control plane decides that placement (it holds both the schedule
and the tz database); rendering it whenever it is non-empty is the
whole of this side’s job (#1808).
Trait Implementations§
Source§impl Clone for ApprovalPreviewFire
impl Clone for ApprovalPreviewFire
Source§fn clone(&self) -> ApprovalPreviewFire
fn clone(&self) -> ApprovalPreviewFire
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ApprovalPreviewFire
impl Debug for ApprovalPreviewFire
impl Eq for ApprovalPreviewFire
Source§impl From<ApprovalPreviewFire> for ApprovalPreviewFire
Names every field so a field added on the agent-service wire fails to
compile here instead of silently defaulting (see CLAUDE.md’s cross-type
conversion rule and #1241/#1238).
impl From<ApprovalPreviewFire> for ApprovalPreviewFire
Names every field so a field added on the agent-service wire fails to compile here instead of silently defaulting (see CLAUDE.md’s cross-type conversion rule and #1241/#1238).
Source§fn from(f: WireAgentApprovalPreviewFire) -> Self
fn from(f: WireAgentApprovalPreviewFire) -> Self
Source§impl From<ApprovalPreviewFire> for ApprovalPreviewFire
Names every field so a field added on the approval-service wire fails to
compile here instead of silently defaulting (see CLAUDE.md’s cross-type
conversion rule and #1241/#1238).
impl From<ApprovalPreviewFire> for ApprovalPreviewFire
Names every field so a field added on the approval-service wire fails to compile here instead of silently defaulting (see CLAUDE.md’s cross-type conversion rule and #1241/#1238).
Source§fn from(f: WireListApprovalPreviewFire) -> Self
fn from(f: WireListApprovalPreviewFire) -> Self
Source§impl PartialEq for ApprovalPreviewFire
impl PartialEq for ApprovalPreviewFire
impl StructuralPartialEq for ApprovalPreviewFire
Auto Trait Implementations§
impl Freeze for ApprovalPreviewFire
impl RefUnwindSafe for ApprovalPreviewFire
impl Send for ApprovalPreviewFire
impl Sync for ApprovalPreviewFire
impl Unpin for ApprovalPreviewFire
impl UnsafeUnpin for ApprovalPreviewFire
impl UnwindSafe for ApprovalPreviewFire
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
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> ⓘ
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> ⓘ
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request