pub struct GoldenExample {
pub input: String,
pub expected: String,
pub name: String,
}Expand description
A single golden round-trip example.
Fields§
§input: StringInput source
expected: StringExpected output after one round-trip
name: StringHuman-readable name
Trait Implementations§
Source§impl Clone for GoldenExample
impl Clone for GoldenExample
Source§fn clone(&self) -> GoldenExample
fn clone(&self) -> GoldenExample
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 moreAuto Trait Implementations§
impl Freeze for GoldenExample
impl RefUnwindSafe for GoldenExample
impl Send for GoldenExample
impl Sync for GoldenExample
impl Unpin for GoldenExample
impl UnsafeUnpin for GoldenExample
impl UnwindSafe for GoldenExample
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