pub struct CodeEvaluator1 {Show 18 fields
pub id: String,
pub name: String,
pub description: Option<String>,
pub created_by: Box<Creator>,
pub status: EvaluatorStatus,
pub paused_at: Option<DateTime<FixedOffset>>,
pub paused_reason: Option<String>,
pub paused_message: Option<String>,
pub evaluation_rule_assignments: Vec<EvaluationRuleAssignment>,
pub created_at: DateTime<FixedOffset>,
pub updated_at: DateTime<FixedOffset>,
pub version_id: String,
pub version: i32,
pub version_created_at: DateTime<FixedOffset>,
pub version_created_by: Box<Creator>,
pub type: Type,
pub source_code: String,
pub source_code_language: CodeEvaluatorSourceCodeLanguage,
}Fields§
§id: StringStable identifier of this evaluator across all versions.
name: StringHuman-readable evaluator name. Names are not identifiers and do not need to be unique.
description: Option<String>Optional human-readable evaluator description.
created_by: Box<Creator>§status: EvaluatorStatus§paused_at: Option<DateTime<FixedOffset>>Timestamp when the evaluator was paused, otherwise null.
paused_reason: Option<String>Machine-readable reason when status=paused, otherwise null.
paused_message: Option<String>Human-readable explanation when status=paused, otherwise null.
evaluation_rule_assignments: Vec<EvaluationRuleAssignment>All modern and legacy evaluation-rule assignments in newest-assignment-first order. Rule-specific mappings are exposed as variableMappingOverride; inherited defaults are omitted.
created_at: DateTime<FixedOffset>Timestamp when the evaluator was created.
updated_at: DateTime<FixedOffset>Timestamp when the evaluator was last updated.
version_id: StringStable identifier of the latest evaluator version.
version: i32Monotonically increasing latest evaluator version number.
version_created_at: DateTime<FixedOffset>Timestamp when the latest evaluator version was created.
version_created_by: Box<Creator>§type: Type§source_code: StringSource code executed by the latest evaluator version.
source_code_language: CodeEvaluatorSourceCodeLanguageImplementations§
Source§impl CodeEvaluator1
impl CodeEvaluator1
Sourcepub fn builder() -> CodeEvaluator1Builder
pub fn builder() -> CodeEvaluator1Builder
Create an instance of CodeEvaluator1 using the builder syntax