pub enum AttributionWarning {
OpenRouterMissingReferer,
OpenRouterLocalhostMissingTitle,
InvalidHeader {
name: String,
reason: String,
},
ProviderUnsupported {
provider: String,
},
AzureHeaderBudget {
count: usize,
},
}Expand description
Non-fatal attribution issues surfaced to callers and tracing spans.
Variants§
OpenRouterMissingReferer
OpenRouter requires HTTP-Referer for app leaderboard attribution.
OpenRouterLocalhostMissingTitle
Localhost referer without a display title.
InvalidHeader
Custom header name or value was invalid and skipped.
ProviderUnsupported
Provider does not support application attribution headers.
AzureHeaderBudget
Approaching Azure custom header passthrough limit (~10).
Trait Implementations§
Source§impl Clone for AttributionWarning
impl Clone for AttributionWarning
Source§fn clone(&self) -> AttributionWarning
fn clone(&self) -> AttributionWarning
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AttributionWarning
impl Debug for AttributionWarning
impl Eq for AttributionWarning
Source§impl PartialEq for AttributionWarning
impl PartialEq for AttributionWarning
impl StructuralPartialEq for AttributionWarning
Auto Trait Implementations§
impl Freeze for AttributionWarning
impl RefUnwindSafe for AttributionWarning
impl Send for AttributionWarning
impl Sync for AttributionWarning
impl Unpin for AttributionWarning
impl UnsafeUnpin for AttributionWarning
impl UnwindSafe for AttributionWarning
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
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
Compare self to
key and return true if they are equal.