pub struct ProviderDecision {
pub action: AgentAction,
pub usage: Option<ProviderUsageRecord>,
pub cache: Option<ProviderCacheRecord>,
}Fields§
§action: AgentAction§usage: Option<ProviderUsageRecord>§cache: Option<ProviderCacheRecord>Trait Implementations§
Source§impl Clone for ProviderDecision
impl Clone for ProviderDecision
Source§fn clone(&self) -> ProviderDecision
fn clone(&self) -> ProviderDecision
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 ProviderDecision
impl Debug for ProviderDecision
Source§impl<'de> Deserialize<'de> for ProviderDecision
impl<'de> Deserialize<'de> for ProviderDecision
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProviderDecision, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProviderDecision, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ProviderDecision
impl PartialEq for ProviderDecision
Source§fn eq(&self, other: &ProviderDecision) -> bool
fn eq(&self, other: &ProviderDecision) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProviderDecision
impl Serialize for ProviderDecision
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ProviderDecision
Auto Trait Implementations§
impl Freeze for ProviderDecision
impl RefUnwindSafe for ProviderDecision
impl Send for ProviderDecision
impl Sync for ProviderDecision
impl Unpin for ProviderDecision
impl UnsafeUnpin for ProviderDecision
impl UnwindSafe for ProviderDecision
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