pub struct ScriptOptions {
pub key_result_statement: Option<String>,
pub statement_byte_budget: Option<i64>,
pub statement_timeout_ms: Option<i64>,
}Expand description
Options related to script execution.
This type is not used in any activity, and only used as part of another schema.
Fields§
§key_result_statement: Option<String>Determines which statement in the script represents the “key result”, used to populate the schema and query results of the script job. Default is LAST.
statement_byte_budget: Option<i64>Limit on the number of bytes billed per statement. Exceeding this budget results in an error.
statement_timeout_ms: Option<i64>Timeout period for each statement in a script.
Trait Implementations§
Source§impl Clone for ScriptOptions
impl Clone for ScriptOptions
Source§fn clone(&self) -> ScriptOptions
fn clone(&self) -> ScriptOptions
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 ScriptOptions
impl Debug for ScriptOptions
Source§impl Default for ScriptOptions
impl Default for ScriptOptions
Source§fn default() -> ScriptOptions
fn default() -> ScriptOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScriptOptions
impl<'de> Deserialize<'de> for ScriptOptions
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 Serialize for ScriptOptions
impl Serialize for ScriptOptions
impl Part for ScriptOptions
Auto Trait Implementations§
impl Freeze for ScriptOptions
impl RefUnwindSafe for ScriptOptions
impl Send for ScriptOptions
impl Sync for ScriptOptions
impl Unpin for ScriptOptions
impl UnwindSafe for ScriptOptions
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