pub struct AgentModelConfig {
pub id: ModelConfigId,
pub scope: TenantProjectScope,
pub agent_id: AgentId,
pub display_name: String,
pub connection: ModelConnectionConfig,
pub api_key_configured: bool,
pub enabled: bool,
pub revision: u64,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Fields§
§id: ModelConfigId§scope: TenantProjectScope§agent_id: AgentId§display_name: String§connection: ModelConnectionConfig§api_key_configured: bool§enabled: bool§revision: u64§created_at: DateTime<Utc>§updated_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for AgentModelConfig
impl Clone for AgentModelConfig
Source§fn clone(&self) -> AgentModelConfig
fn clone(&self) -> AgentModelConfig
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 AgentModelConfig
impl Debug for AgentModelConfig
Source§impl<'de> Deserialize<'de> for AgentModelConfig
impl<'de> Deserialize<'de> for AgentModelConfig
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 AgentModelConfig
impl PartialEq for AgentModelConfig
Source§impl Serialize for AgentModelConfig
impl Serialize for AgentModelConfig
impl StructuralPartialEq for AgentModelConfig
Auto Trait Implementations§
impl Freeze for AgentModelConfig
impl RefUnwindSafe for AgentModelConfig
impl Send for AgentModelConfig
impl Sync for AgentModelConfig
impl Unpin for AgentModelConfig
impl UnsafeUnpin for AgentModelConfig
impl UnwindSafe for AgentModelConfig
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