pub struct BooleanScoreV3 {Show 15 fields
pub id: String,
pub project_id: String,
pub name: String,
pub source: ScoreSource,
pub timestamp: DateTime<FixedOffset>,
pub environment: String,
pub created_at: DateTime<FixedOffset>,
pub updated_at: DateTime<FixedOffset>,
pub comment: Option<Option<String>>,
pub config_id: Option<Option<String>>,
pub metadata: Option<Option<HashMap<String, Value>>>,
pub author_user_id: Option<Option<String>>,
pub queue_id: Option<Option<String>>,
pub subject: Option<Box<ScoreSubjectV3>>,
pub value: bool,
}Fields§
§id: String§project_id: String§name: String§source: ScoreSource§timestamp: DateTime<FixedOffset>§environment: StringThe environment from which this score originated.
created_at: DateTime<FixedOffset>§updated_at: DateTime<FixedOffset>§comment: Option<Option<String>>Optional comment attached to the score. Present when "details" is included in the fields parameter.
config_id: Option<Option<String>>The score config ID, if this score was created from a config. Present when "details" is included in the fields parameter.
metadata: Option<Option<HashMap<String, Value>>>Arbitrary metadata attached to the score. Present when "details" is included in the fields parameter.
The user who created this score, if available. Present when "annotation" is included in the fields parameter.
queue_id: Option<Option<String>>The annotation queue this score belongs to, if any. Present when "annotation" is included in the fields parameter.
subject: Option<Box<ScoreSubjectV3>>§value: boolThe boolean value of the score.
Implementations§
Source§impl BooleanScoreV3
impl BooleanScoreV3
Sourcepub fn builder() -> BooleanScoreV3Builder
pub fn builder() -> BooleanScoreV3Builder
Create an instance of BooleanScoreV3 using the builder syntax
Source§impl BooleanScoreV3
impl BooleanScoreV3
pub fn new( id: String, project_id: String, name: String, source: ScoreSource, timestamp: DateTime<FixedOffset>, environment: String, created_at: DateTime<FixedOffset>, updated_at: DateTime<FixedOffset>, value: bool, ) -> BooleanScoreV3
Trait Implementations§
Source§impl Clone for BooleanScoreV3
impl Clone for BooleanScoreV3
Source§fn clone(&self) -> BooleanScoreV3
fn clone(&self) -> BooleanScoreV3
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 BooleanScoreV3
impl Debug for BooleanScoreV3
Source§impl Default for BooleanScoreV3
impl Default for BooleanScoreV3
Source§fn default() -> BooleanScoreV3
fn default() -> BooleanScoreV3
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BooleanScoreV3
impl<'de> Deserialize<'de> for BooleanScoreV3
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 BooleanScoreV3
impl PartialEq for BooleanScoreV3
Source§impl Serialize for BooleanScoreV3
impl Serialize for BooleanScoreV3
impl StructuralPartialEq for BooleanScoreV3
Auto Trait Implementations§
impl Freeze for BooleanScoreV3
impl RefUnwindSafe for BooleanScoreV3
impl Send for BooleanScoreV3
impl Sync for BooleanScoreV3
impl Unpin for BooleanScoreV3
impl UnsafeUnpin for BooleanScoreV3
impl UnwindSafe for BooleanScoreV3
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