pub struct ExecuteComponentRequestRawCode {
pub content: String,
pub language: String,
pub path: Option<String>,
pub lock: Option<String>,
pub cache_ttl: Option<i32>,
pub tag: Option<String>,
pub modules: Option<Option<HashMap<String, ScriptModule>>>,
}Fields§
§content: String§language: String§path: Option<String>§lock: Option<String>§cache_ttl: Option<i32>§tag: Option<String>§modules: Option<Option<HashMap<String, ScriptModule>>>Additional modules keyed by relative file path. Honored in preview only: a deployed app runs the modules stored with its runnable.
Implementations§
Source§impl ExecuteComponentRequestRawCode
impl ExecuteComponentRequestRawCode
pub fn new(content: String, language: String) -> ExecuteComponentRequestRawCode
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ExecuteComponentRequestRawCode
impl<'de> Deserialize<'de> for ExecuteComponentRequestRawCode
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 StructuralPartialEq for ExecuteComponentRequestRawCode
Auto Trait Implementations§
impl Forget for ExecuteComponentRequestRawCode
impl Freeze for ExecuteComponentRequestRawCodewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<(String, ScriptModule)>: Freeze,
impl Move for ExecuteComponentRequestRawCode
impl RefUnwindSafe for ExecuteComponentRequestRawCode
impl Send for ExecuteComponentRequestRawCode
impl Sync for ExecuteComponentRequestRawCode
impl Unpin for ExecuteComponentRequestRawCode
impl UnsafeUnpin for ExecuteComponentRequestRawCodewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<(String, ScriptModule)>: UnsafeUnpin,
impl UnwindSafe for ExecuteComponentRequestRawCode
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