pub struct Preview {
pub content: Option<String>,
pub path: Option<String>,
pub script_hash: Option<String>,
pub args: HashMap<String, Value>,
pub language: Option<ScriptLang>,
pub tag: Option<String>,
pub kind: Option<Kind>,
pub dedicated_worker: Option<bool>,
pub lock: Option<String>,
}
Fields§
§content: Option<String>
§path: Option<String>
§script_hash: Option<String>
§args: HashMap<String, Value>
§language: Option<ScriptLang>
§tag: Option<String>
§kind: Option<Kind>
§dedicated_worker: Option<bool>
§lock: Option<String>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Preview
impl<'de> Deserialize<'de> for Preview
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 Preview
Auto Trait Implementations§
impl Freeze for Preview
impl RefUnwindSafe for Preview
impl Send for Preview
impl Sync for Preview
impl Unpin for Preview
impl UnwindSafe for Preview
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