pub struct ProgramContent {
pub base: ExecutableContent,
pub code: CodeContent,
pub runtime: FunctionRuntime,
pub data: Option<DataContent>,
pub environment: FunctionEnvironment,
pub export: Option<Export>,
pub on: FunctionTriggers,
}Fields§
§base: ExecutableContent§code: CodeContentCode to execute.
runtime: FunctionRuntimeExecution runtime (rootfs with Python interpreter).
data: Option<DataContent>Data to use during computation.
environment: FunctionEnvironmentProperties of the execution environment.
export: Option<Export>Data to export after computation.
on: FunctionTriggersSignals that trigger an execution.
Implementations§
Source§impl ProgramContent
impl ProgramContent
pub fn executable_content(&self) -> &ExecutableContent
Trait Implementations§
Source§impl Clone for ProgramContent
impl Clone for ProgramContent
Source§fn clone(&self) -> ProgramContent
fn clone(&self) -> ProgramContent
Returns a duplicate of the value. Read more
1.0.0 · 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 ProgramContent
impl Debug for ProgramContent
Source§impl<'de> Deserialize<'de> for ProgramContent
impl<'de> Deserialize<'de> for ProgramContent
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
Source§impl PartialEq for ProgramContent
impl PartialEq for ProgramContent
Source§impl Serialize for ProgramContent
impl Serialize for ProgramContent
impl StructuralPartialEq for ProgramContent
Auto Trait Implementations§
impl Freeze for ProgramContent
impl RefUnwindSafe for ProgramContent
impl Send for ProgramContent
impl Sync for ProgramContent
impl Unpin for ProgramContent
impl UnsafeUnpin for ProgramContent
impl UnwindSafe for ProgramContent
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