pub struct AgentV2Info {
pub color: Option<AgentColor>,
pub description: Option<String>,
pub hidden: bool,
pub id: String,
pub mode: String,
pub model: Option<ModelRef>,
pub permissions: PermissionV2Ruleset,
pub request: ProviderRequest,
pub steps: Option<i64>,
pub system: Option<String>,
}Fields§
§color: Option<AgentColor>§description: Option<String>§id: String§mode: String§model: Option<ModelRef>§permissions: PermissionV2Ruleset§request: ProviderRequest§steps: Option<i64>§system: Option<String>Trait Implementations§
Source§impl Clone for AgentV2Info
impl Clone for AgentV2Info
Source§fn clone(&self) -> AgentV2Info
fn clone(&self) -> AgentV2Info
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 AgentV2Info
impl Debug for AgentV2Info
Source§impl<'de> Deserialize<'de> for AgentV2Info
impl<'de> Deserialize<'de> for AgentV2Info
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 AgentV2Info
impl PartialEq for AgentV2Info
Source§impl Serialize for AgentV2Info
impl Serialize for AgentV2Info
impl StructuralPartialEq for AgentV2Info
Auto Trait Implementations§
impl Freeze for AgentV2Info
impl RefUnwindSafe for AgentV2Info
impl Send for AgentV2Info
impl Sync for AgentV2Info
impl Unpin for AgentV2Info
impl UnsafeUnpin for AgentV2Info
impl UnwindSafe for AgentV2Info
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