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<'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 Forget for UpdateAppRawSourceRequestValue
impl Freeze for UpdateAppRawSourceRequestValuewhere
*const u8 is !null: Freeze,
PhantomData<(String, String)>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
impl Move for UpdateAppRawSourceRequestValue
impl RefUnwindSafe for UpdateAppRawSourceRequestValue
impl Send for UpdateAppRawSourceRequestValue
impl Sync for UpdateAppRawSourceRequestValue
impl Unpin for UpdateAppRawSourceRequestValue
impl UnsafeUnpin for UpdateAppRawSourceRequestValuewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<(String, String)>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for UpdateAppRawSourceRequestValuewhere
HashMap<String, String>: UnwindSafe,
RawVecInner: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
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