pub struct AlignmentSignal {
pub name: String,
pub source: String,
pub metric: String,
pub target: SignalTarget,
}Expand description
A data point that indicates successful intent alignment.
Fields§
§name: StringHuman-readable name (e.g., “retention_rate”)
source: StringEntity type to monitor (e.g., “customer_events”)
metric: StringField to measure (e.g., “30d_retention”)
target: SignalTargetThreshold target
Trait Implementations§
Source§impl Clone for AlignmentSignal
impl Clone for AlignmentSignal
Source§fn clone(&self) -> AlignmentSignal
fn clone(&self) -> AlignmentSignal
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 ComposeSchema for AlignmentSignal
impl ComposeSchema for AlignmentSignal
Source§impl Debug for AlignmentSignal
impl Debug for AlignmentSignal
Source§impl<'de> Deserialize<'de> for AlignmentSignal
impl<'de> Deserialize<'de> for AlignmentSignal
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 AlignmentSignal
impl PartialEq for AlignmentSignal
Source§impl Serialize for AlignmentSignal
impl Serialize for AlignmentSignal
Source§impl ToSchema for AlignmentSignal
impl ToSchema for AlignmentSignal
impl StructuralPartialEq for AlignmentSignal
Auto Trait Implementations§
impl Freeze for AlignmentSignal
impl RefUnwindSafe for AlignmentSignal
impl Send for AlignmentSignal
impl Sync for AlignmentSignal
impl Unpin for AlignmentSignal
impl UnwindSafe for AlignmentSignal
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