pub struct UpdateAppRawSourceRequestValue {
pub files: HashMap<String, String>,
pub runnables: Option<Value>,
pub data: Option<Value>,
}Expand description
UpdateAppRawSourceRequestValue : The raw app’s value. files maps each source path (e.g. /index.tsx, /App.tsx, /package.json) to its content and must contain an entry point (/index.tsx, /index.ts or /index.js); runnables and data are carried through unchanged.
Fields§
§files: HashMap<String, String>§runnables: Option<Value>§data: Option<Value>Implementations§
Source§impl UpdateAppRawSourceRequestValue
impl UpdateAppRawSourceRequestValue
Sourcepub fn new(files: HashMap<String, String>) -> UpdateAppRawSourceRequestValue
pub fn new(files: HashMap<String, String>) -> UpdateAppRawSourceRequestValue
The raw app’s value. files maps each source path (e.g. /index.tsx, /App.tsx, /package.json) to its content and must contain an entry point (/index.tsx, /index.ts or /index.js); runnables and data are carried through unchanged.
Trait Implementations§
Source§impl Clone for UpdateAppRawSourceRequestValue
impl Clone for UpdateAppRawSourceRequestValue
Source§fn clone(&self) -> UpdateAppRawSourceRequestValue
fn clone(&self) -> UpdateAppRawSourceRequestValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for UpdateAppRawSourceRequestValue
impl Default for UpdateAppRawSourceRequestValue
Source§fn default() -> UpdateAppRawSourceRequestValue
fn default() -> UpdateAppRawSourceRequestValue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateAppRawSourceRequestValue
impl<'de> Deserialize<'de> for UpdateAppRawSourceRequestValue
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 UpdateAppRawSourceRequestValue
Auto Trait Implementations§
impl Freeze for UpdateAppRawSourceRequestValue
impl RefUnwindSafe for UpdateAppRawSourceRequestValue
impl Send for UpdateAppRawSourceRequestValue
impl Sync for UpdateAppRawSourceRequestValue
impl Unpin for UpdateAppRawSourceRequestValue
impl UnsafeUnpin for UpdateAppRawSourceRequestValue
impl UnwindSafe for UpdateAppRawSourceRequestValue
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