pub struct ApplyPreviewRequest {
pub material: TextPayload,
pub scripts: BTreeMap<String, TextPayload>,
pub configuration: Option<BTreeMap<String, Value>>,
}Fields§
§material: TextPayload§scripts: BTreeMap<String, TextPayload>§configuration: Option<BTreeMap<String, Value>>Missing preserves previous values; null removes an explicitly named value.
Implementations§
Trait Implementations§
Source§impl Clone for ApplyPreviewRequest
impl Clone for ApplyPreviewRequest
Source§impl Debug for ApplyPreviewRequest
impl Debug for ApplyPreviewRequest
Source§impl<'de> Deserialize<'de> for ApplyPreviewRequest
impl<'de> Deserialize<'de> for ApplyPreviewRequest
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
Auto Trait Implementations§
impl Forget for ApplyPreviewRequest
impl Freeze for ApplyPreviewRequestwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<String, TextPayload> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, TextPayload)>>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
impl Move for ApplyPreviewRequest
impl RefUnwindSafe for ApplyPreviewRequest
impl Send for ApplyPreviewRequest
impl Sync for ApplyPreviewRequest
impl Unpin for ApplyPreviewRequest
impl UnsafeUnpin for ApplyPreviewRequestwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, TextPayload> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, TextPayload)>>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for ApplyPreviewRequestwhere
RawVecInner: UnwindSafe,
BTreeMap<String, TextPayload>: 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