pub struct RecentlyUsedAgent {
pub id: String,
pub name: String,
pub description: Option<String>,
pub last_used_at: DateTime<Utc>,
}Expand description
Agent that was recently used (based on thread activity)
Fields§
§id: String§name: String§description: Option<String>§last_used_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for RecentlyUsedAgent
impl Clone for RecentlyUsedAgent
Source§fn clone(&self) -> RecentlyUsedAgent
fn clone(&self) -> RecentlyUsedAgent
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 RecentlyUsedAgent
impl Debug for RecentlyUsedAgent
Source§impl<'de> Deserialize<'de> for RecentlyUsedAgent
impl<'de> Deserialize<'de> for RecentlyUsedAgent
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 RecentlyUsedAgent
impl RefUnwindSafe for RecentlyUsedAgent
impl Send for RecentlyUsedAgent
impl Sync for RecentlyUsedAgent
impl Unpin for RecentlyUsedAgent
impl UnsafeUnpin for RecentlyUsedAgent
impl UnwindSafe for RecentlyUsedAgent
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