pub struct Agent {
pub id: String,
pub agent_id: String,
pub display_name: Option<String>,
pub status: String,
pub tags: Option<Vec<String>>,
pub metadata: Option<HashMap<String, Value>>,
pub policy_id: Option<String>,
pub total_signatures: i64,
pub active_key_id: Option<String>,
pub created_at: Option<String>,
pub last_seen_at: Option<String>,
}Expand description
Agent representation.
Fields§
§id: String§agent_id: String§display_name: Option<String>§status: String§metadata: Option<HashMap<String, Value>>§policy_id: Option<String>§total_signatures: i64§active_key_id: Option<String>§created_at: Option<String>§last_seen_at: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Agent
impl<'de> Deserialize<'de> for Agent
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 Agent
impl RefUnwindSafe for Agent
impl Send for Agent
impl Sync for Agent
impl Unpin for Agent
impl UnsafeUnpin for Agent
impl UnwindSafe for Agent
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