Struct wick_oci_utils::WickOciConfig
source · #[non_exhaustive]pub struct WickOciConfig {
pub kind: WickPackageKind,
pub root: String,
}
Expand description
This is the oci manifest config for Wick packages.
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.kind: WickPackageKind
§root: String
Implementations§
source§impl WickOciConfig
impl WickOciConfig
sourcepub const fn new(kind: WickPackageKind, root: String) -> Self
pub const fn new(kind: WickPackageKind, root: String) -> Self
Create a new WickOciConfig.
Trait Implementations§
source§impl Debug for WickOciConfig
impl Debug for WickOciConfig
source§impl<'de> Deserialize<'de> for WickOciConfig
impl<'de> Deserialize<'de> for WickOciConfig
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 RefUnwindSafe for WickOciConfig
impl Send for WickOciConfig
impl Sync for WickOciConfig
impl Unpin for WickOciConfig
impl UnwindSafe for WickOciConfig
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