Struct ProviderFallbackAttribution
pub struct ProviderFallbackAttribution {
pub fallback: ProviderFallbackInfo,
pub requested_candidate: String,
pub actual_candidate: String,
}Expand description
Fallback metadata for a caller that needs exact configured-candidate provenance in addition to the stable provider-family display fields.
Fields§
§fallback: ProviderFallbackInfoStable provider/model record for channel and direct-agent notices.
requested_candidate: StringExact configured candidate that was requested before fallback.
actual_candidate: StringExact configured candidate that served the recovered request.
Trait Implementations§
Source§impl Clone for ProviderFallbackAttribution
impl Clone for ProviderFallbackAttribution
Source§fn clone(&self) -> ProviderFallbackAttribution
fn clone(&self) -> ProviderFallbackAttribution
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProviderFallbackAttribution
impl RefUnwindSafe for ProviderFallbackAttribution
impl Send for ProviderFallbackAttribution
impl Sync for ProviderFallbackAttribution
impl Unpin for ProviderFallbackAttribution
impl UnsafeUnpin for ProviderFallbackAttribution
impl UnwindSafe for ProviderFallbackAttribution
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<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,
§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