pub struct StoredAgent {
pub id: Uuid,
pub owner: String,
pub model: String,
pub capabilities: Vec<String>,
pub trust_level: StoredTrustLevel,
pub created_at: DateTime<Utc>,
pub expires_at: Option<DateTime<Utc>>,
pub active: bool,
}Expand description
A stored agent record.
Fields§
§id: Uuid§owner: String§model: String§capabilities: Vec<String>§trust_level: StoredTrustLevel§created_at: DateTime<Utc>§expires_at: Option<DateTime<Utc>>§active: boolTrait Implementations§
Source§impl Clone for StoredAgent
impl Clone for StoredAgent
Source§fn clone(&self) -> StoredAgent
fn clone(&self) -> StoredAgent
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 StoredAgent
impl Debug for StoredAgent
Source§impl<'de> Deserialize<'de> for StoredAgent
impl<'de> Deserialize<'de> for StoredAgent
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 StoredAgent
impl RefUnwindSafe for StoredAgent
impl Send for StoredAgent
impl Sync for StoredAgent
impl Unpin for StoredAgent
impl UnsafeUnpin for StoredAgent
impl UnwindSafe for StoredAgent
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