pub struct PatternExample {
pub input: Value,
pub output: Value,
pub context: Value,
}Expand description
Example of a pattern
Fields§
§input: ValueInput that produced this example
output: ValueOutput of this example
context: ValueContext of this example
Trait Implementations§
Source§impl Clone for PatternExample
impl Clone for PatternExample
Source§fn clone(&self) -> PatternExample
fn clone(&self) -> PatternExample
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PatternExample
impl Debug for PatternExample
Source§impl<'de> Deserialize<'de> for PatternExample
impl<'de> Deserialize<'de> for PatternExample
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 Freeze for PatternExample
impl RefUnwindSafe for PatternExample
impl Send for PatternExample
impl Sync for PatternExample
impl Unpin for PatternExample
impl UnwindSafe for PatternExample
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