#[non_exhaustive]pub struct Builder {
pub alias: String,
pub base_image: String,
pub branch: String,
pub kernel_package: String,
pub utf8_locale: String,
}
Expand description
StorPool builder data.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.alias: String
The builder name.
base_image: String
The base Docker image that the builder is generated from.
branch: String
The branch used by the sp-pkg tool to specify the variant.
kernel_package: String
The base kernel OS package.
utf8_locale: String
The name of the locale to use for clean UTF-8 output.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Builder
impl<'de> Deserialize<'de> for Builder
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
impl Eq for Builder
impl StructuralPartialEq for Builder
Auto Trait Implementations§
impl Freeze for Builder
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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