pub struct InlinePythonOptions {
pub entrypoint: Option<String>,
pub packages: Vec<String>,
pub runtime: Option<ManifestRuntime>,
pub resources: Option<ManifestResources>,
}Expand description
Options configuring inline Python execution without a prebuilt bundle.
Fields§
§entrypoint: Option<String>Optional entrypoint override (defaults to "main:handler").
packages: Vec<String>Optional package hints passed through the manifest.
runtime: Option<ManifestRuntime>Optional runtime overrides copied into the manifest.
resources: Option<ManifestResources>Optional sandbox resource policies copied into the manifest.
Implementations§
Source§impl InlinePythonOptions
impl InlinePythonOptions
Sourcepub fn entrypoint(&self) -> &str
pub fn entrypoint(&self) -> &str
Returns the entrypoint, falling back to main:handler.
Trait Implementations§
Source§impl Clone for InlinePythonOptions
impl Clone for InlinePythonOptions
Source§fn clone(&self) -> InlinePythonOptions
fn clone(&self) -> InlinePythonOptions
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 InlinePythonOptions
impl Debug for InlinePythonOptions
Source§impl Default for InlinePythonOptions
impl Default for InlinePythonOptions
Source§fn default() -> InlinePythonOptions
fn default() -> InlinePythonOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InlinePythonOptions
impl RefUnwindSafe for InlinePythonOptions
impl Send for InlinePythonOptions
impl Sync for InlinePythonOptions
impl Unpin for InlinePythonOptions
impl UnwindSafe for InlinePythonOptions
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