pub struct AgentConfigRow {
pub id: ConfigId,
pub project_id: ProjectId,
pub adapter_id: AdapterId,
pub role: ConfigRole,
pub fingerprint: u64,
pub payload: AgentConfig,
pub created_at: DateTime<Utc>,
}Expand description
A stored AgentConfig row.
Fields§
§id: ConfigIdRow id.
project_id: ProjectIdOwning project.
adapter_id: AdapterIdAdapter this config targets.
role: ConfigRoleRole at time of insertion (can be promoted/retired later).
fingerprint: u64Stable hash of the payload (from AgentConfig::fingerprint).
payload: AgentConfigThe config itself.
created_at: DateTime<Utc>When this row was inserted.
Trait Implementations§
Source§impl Clone for AgentConfigRow
impl Clone for AgentConfigRow
Source§fn clone(&self) -> AgentConfigRow
fn clone(&self) -> AgentConfigRow
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 moreAuto Trait Implementations§
impl Freeze for AgentConfigRow
impl RefUnwindSafe for AgentConfigRow
impl Send for AgentConfigRow
impl Sync for AgentConfigRow
impl Unpin for AgentConfigRow
impl UnsafeUnpin for AgentConfigRow
impl UnwindSafe for AgentConfigRow
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more