pub struct BaselineFile {
pub schema_version: String,
pub entries: Vec<BaselineEntry>,
}Fields§
§schema_version: String§entries: Vec<BaselineEntry>#[serde(default)] keeps load-compat with files that omit the
entries: key entirely (an empty baseline). Mirrors
PolicyFile.overrides and the engineering standard in
CLAUDE.md § “When a fix touches a public type, prefer adding
optional fields with serde defaults rather than breaking on-disk
caches.”
Trait Implementations§
Source§impl Clone for BaselineFile
impl Clone for BaselineFile
Source§fn clone(&self) -> BaselineFile
fn clone(&self) -> BaselineFile
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 BaselineFile
impl Debug for BaselineFile
Source§impl<'de> Deserialize<'de> for BaselineFile
impl<'de> Deserialize<'de> for BaselineFile
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 BaselineFile
impl RefUnwindSafe for BaselineFile
impl Send for BaselineFile
impl Sync for BaselineFile
impl Unpin for BaselineFile
impl UnsafeUnpin for BaselineFile
impl UnwindSafe for BaselineFile
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