pub struct Provenance {
pub source: &'static str,
pub licence: &'static str,
pub expectation: &'static str,
}Expand description
Where a fixture came from and under what terms it may be redistributed.
Fields§
§source: &'static strWhere the case came from: an issue, a specification, or first principles. Specific enough that a reader can go and check it.
licence: &'static strLicence covering redistribution of this fixture’s data.
Every fixture so far is original work under the repository licence. A fixture taken from an external corpus must name that corpus’s licence here.
expectation: &'static strWhat an implementation must do with it, stated as a requirement.
Trait Implementations§
Source§impl Clone for Provenance
impl Clone for Provenance
Source§fn clone(&self) -> Provenance
fn clone(&self) -> Provenance
Returns a copy 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 Provenance
impl Debug for Provenance
Source§impl PartialEq for Provenance
impl PartialEq for Provenance
impl Copy for Provenance
impl Eq for Provenance
impl StructuralPartialEq for Provenance
Auto Trait Implementations§
impl Freeze for Provenance
impl RefUnwindSafe for Provenance
impl Send for Provenance
impl Sync for Provenance
impl Unpin for Provenance
impl UnwindSafe for Provenance
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