pub struct AgentVersion {
pub version_id: String,
pub agent_id: String,
pub tenant_id: Option<String>,
pub version: i64,
pub changelog: Option<String>,
pub created_at: String,
pub created_by: Option<String>,
pub config: Option<Map<String, Value>>,
}Expand description
AgentVersion model.
Fields§
§version_id: String§agent_id: String§tenant_id: Option<String>§version: i64§changelog: Option<String>§created_at: String§created_by: Option<String>§config: Option<Map<String, Value>>The full agent configuration as it stood at this version. Shape follows Agent; not pinned
here so the two cannot drift.
Trait Implementations§
Source§impl Clone for AgentVersion
impl Clone for AgentVersion
Source§fn clone(&self) -> AgentVersion
fn clone(&self) -> AgentVersion
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 AgentVersion
impl Debug for AgentVersion
Source§impl Default for AgentVersion
impl Default for AgentVersion
Source§fn default() -> AgentVersion
fn default() -> AgentVersion
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentVersion
impl<'de> Deserialize<'de> for AgentVersion
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 AgentVersion
impl PartialEq for AgentVersion
Source§impl Serialize for AgentVersion
impl Serialize for AgentVersion
impl StructuralPartialEq for AgentVersion
Auto Trait Implementations§
impl Freeze for AgentVersion
impl RefUnwindSafe for AgentVersion
impl Send for AgentVersion
impl Sync for AgentVersion
impl Unpin for AgentVersion
impl UnsafeUnpin for AgentVersion
impl UnwindSafe for AgentVersion
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