pub struct StaticProviderTransform {
pub value: Box<ProviderConfig>,
pub type: Type,
}Expand description
StaticProviderTransform : Static provider configuration passed directly to the AI agent
Fields§
§value: Box<ProviderConfig>§type: TypeImplementations§
Source§impl StaticProviderTransform
impl StaticProviderTransform
Sourcepub fn new(value: ProviderConfig, type: Type) -> StaticProviderTransform
pub fn new(value: ProviderConfig, type: Type) -> StaticProviderTransform
Static provider configuration passed directly to the AI agent
Trait Implementations§
Source§impl Clone for StaticProviderTransform
impl Clone for StaticProviderTransform
Source§fn clone(&self) -> StaticProviderTransform
fn clone(&self) -> StaticProviderTransform
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 StaticProviderTransform
impl Debug for StaticProviderTransform
Source§impl Default for StaticProviderTransform
impl Default for StaticProviderTransform
Source§fn default() -> StaticProviderTransform
fn default() -> StaticProviderTransform
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StaticProviderTransform
impl<'de> Deserialize<'de> for StaticProviderTransform
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
Source§impl PartialEq for StaticProviderTransform
impl PartialEq for StaticProviderTransform
Source§impl Serialize for StaticProviderTransform
impl Serialize for StaticProviderTransform
impl StructuralPartialEq for StaticProviderTransform
Auto Trait Implementations§
impl Freeze for StaticProviderTransform
impl RefUnwindSafe for StaticProviderTransform
impl Send for StaticProviderTransform
impl Sync for StaticProviderTransform
impl Unpin for StaticProviderTransform
impl UnwindSafe for StaticProviderTransform
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