pub struct AgentVersion {Show 13 fields
pub id: Uuid,
pub name: String,
pub version: String,
pub sha: String,
pub file_content: AgentFile,
pub raw_content: String,
pub format: AgentFileFormat,
pub promoted: bool,
pub is_champion: bool,
pub changelog: Option<String>,
pub parent_sha: Option<String>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
Parsed and versioned agent file stored in the database.
Fields§
§id: Uuid§name: String§version: String§sha: String§file_content: AgentFile§raw_content: String§format: AgentFileFormat§promoted: bool§is_champion: bool§changelog: Option<String>§parent_sha: Option<String>§created_at: DateTime<Utc>§updated_at: DateTime<Utc>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<'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
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