pub struct RainyEnvelopeMeta {
pub billing_plan: Option<String>,
pub credits_charged: Option<f64>,
pub markup_percent: Option<f64>,
pub daily_credits_remaining: Option<String>,
pub compat_warnings: Option<Vec<CompatWarning>>,
pub features_used: Option<FeaturesUsed>,
pub reasoning: Option<ReasoningMeta>,
pub extra: HashMap<String, Value>,
}Expand description
Rainy envelope metadata (partial, forward-compatible).
Fields§
§billing_plan: Option<String>Billing plan identifier.
credits_charged: Option<f64>Credits charged for the request.
markup_percent: Option<f64>Markup percentage applied to pricing.
daily_credits_remaining: Option<String>Daily credits remaining for the user.
compat_warnings: Option<Vec<CompatWarning>>Compatibility warnings emitted during processing.
features_used: Option<FeaturesUsed>Features used by the request.
reasoning: Option<ReasoningMeta>Reasoning metadata for the response.
extra: HashMap<String, Value>Additional envelope metadata fields.
Trait Implementations§
Source§impl Clone for RainyEnvelopeMeta
impl Clone for RainyEnvelopeMeta
Source§fn clone(&self) -> RainyEnvelopeMeta
fn clone(&self) -> RainyEnvelopeMeta
Returns a duplicate of the value. Read more
1.0.0 · 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 RainyEnvelopeMeta
impl Debug for RainyEnvelopeMeta
Source§impl Default for RainyEnvelopeMeta
impl Default for RainyEnvelopeMeta
Source§fn default() -> RainyEnvelopeMeta
fn default() -> RainyEnvelopeMeta
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RainyEnvelopeMeta
impl<'de> Deserialize<'de> for RainyEnvelopeMeta
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
Auto Trait Implementations§
impl Freeze for RainyEnvelopeMeta
impl RefUnwindSafe for RainyEnvelopeMeta
impl Send for RainyEnvelopeMeta
impl Sync for RainyEnvelopeMeta
impl Unpin for RainyEnvelopeMeta
impl UnsafeUnpin for RainyEnvelopeMeta
impl UnwindSafe for RainyEnvelopeMeta
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