pub struct Baseline {
pub report_id: String,
pub source: Option<String>,
pub timestamp: Option<String>,
pub build_name: Option<String>,
pub build_number: Option<u64>,
pub build_url: Option<String>,
pub commit: Option<String>,
/* private fields */
}Expand description
Result Baseline element for a CTRF report. Corresponds to the spec’s “Baseline” object.
Fields§
§report_id: String§source: Option<String>§timestamp: Option<String>§build_name: Option<String>§build_number: Option<u64>§build_url: Option<String>§commit: Option<String>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Baseline
impl<'de> Deserialize<'de> for Baseline
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 Extra for Baseline
impl Extra for Baseline
Source§fn insert_extra(&mut self, key: String, value: Value) -> Option<Value>
fn insert_extra(&mut self, key: String, value: Value) -> Option<Value>
Inserts an element into the Extra map. Returns the value that it replaced, if one was present, or None if not.
impl StructuralPartialEq for Baseline
Auto Trait Implementations§
impl Freeze for Baseline
impl RefUnwindSafe for Baseline
impl Send for Baseline
impl Sync for Baseline
impl Unpin for Baseline
impl UnwindSafe for Baseline
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