pub struct CockpitSettings {
pub base: String,
pub head: String,
pub range_mode: String,
pub baseline: Option<String>,
}Expand description
Settings for cockpit PR metrics (tokmd cockpit).
Fields§
§base: StringBase ref to compare from.
head: StringHead ref to compare to.
range_mode: StringRange mode: “two-dot” or “three-dot”.
baseline: Option<String>Optional baseline file path for trend comparison.
Trait Implementations§
Source§impl Clone for CockpitSettings
impl Clone for CockpitSettings
Source§fn clone(&self) -> CockpitSettings
fn clone(&self) -> CockpitSettings
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 Debug for CockpitSettings
impl Debug for CockpitSettings
Source§impl Default for CockpitSettings
impl Default for CockpitSettings
Source§impl<'de> Deserialize<'de> for CockpitSettings
impl<'de> Deserialize<'de> for CockpitSettings
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
Auto Trait Implementations§
impl Freeze for CockpitSettings
impl RefUnwindSafe for CockpitSettings
impl Send for CockpitSettings
impl Sync for CockpitSettings
impl Unpin for CockpitSettings
impl UnsafeUnpin for CockpitSettings
impl UnwindSafe for CockpitSettings
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