pub struct PreviewReq {
pub sample: Value,
}Fields§
§sample: Value传进 minijinja 渲染的任意 key/value 上下文。
Trait Implementations§
Source§impl Clone for PreviewReq
impl Clone for PreviewReq
Source§fn clone(&self) -> PreviewReq
fn clone(&self) -> PreviewReq
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 ComposeSchema for PreviewReq
impl ComposeSchema for PreviewReq
Source§impl Debug for PreviewReq
impl Debug for PreviewReq
Source§impl<'de> Deserialize<'de> for PreviewReq
impl<'de> Deserialize<'de> for PreviewReq
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
Source§impl Serialize for PreviewReq
impl Serialize for PreviewReq
Auto Trait Implementations§
impl Freeze for PreviewReq
impl RefUnwindSafe for PreviewReq
impl Send for PreviewReq
impl Sync for PreviewReq
impl Unpin for PreviewReq
impl UnsafeUnpin for PreviewReq
impl UnwindSafe for PreviewReq
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