pub enum BuildV1 {
Template {
instructions: Vec<TemplateInstructionV1>,
},
Handler {
export: String,
programs: Vec<String>,
},
}Variants§
Template
Fields
§
instructions: Vec<TemplateInstructionV1>Handler
The escape hatch: a reviewed handler export in the release’s bundle.
programs is the allowlist the handler’s output is checked against.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BuildV1
impl<'de> Deserialize<'de> for BuildV1
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 BuildV1
impl StructuralPartialEq for BuildV1
Auto Trait Implementations§
impl Freeze for BuildV1
impl RefUnwindSafe for BuildV1
impl Send for BuildV1
impl Sync for BuildV1
impl Unpin for BuildV1
impl UnsafeUnpin for BuildV1
impl UnwindSafe for BuildV1
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