pub enum BuildSbom {
Boolean(bool),
String(String),
}Expand description
A Compose Build sbom value with its YAML scalar category retained.
Compose accepts either a YAML boolean or a string for this field. Strings, including empty, generator-shaped, and interpolation-shaped values, remain strings and are never coerced to booleans or interpreted as generated SBOM data.
Variants§
Boolean(bool)
A YAML boolean scalar.
String(String)
A YAML string scalar without boolean coercion or generator parsing.
Trait Implementations§
impl Eq for BuildSbom
impl StructuralPartialEq for BuildSbom
Auto Trait Implementations§
impl Freeze for BuildSbom
impl RefUnwindSafe for BuildSbom
impl Send for BuildSbom
impl Sync for BuildSbom
impl Unpin for BuildSbom
impl UnsafeUnpin for BuildSbom
impl UnwindSafe for BuildSbom
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