pub struct SchemaFile {
pub name: String,
pub text: String,
}Expand description
One schema file: its name (run.input.json) and its text.
Fields§
§name: StringThe file’s name.
text: StringIts JSON, pretty-printed, ending in a newline.
Trait Implementations§
Source§impl Clone for SchemaFile
impl Clone for SchemaFile
Source§fn clone(&self) -> SchemaFile
fn clone(&self) -> SchemaFile
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 Debug for SchemaFile
impl Debug for SchemaFile
impl Eq for SchemaFile
Source§impl PartialEq for SchemaFile
impl PartialEq for SchemaFile
impl StructuralPartialEq for SchemaFile
Auto Trait Implementations§
impl Freeze for SchemaFile
impl RefUnwindSafe for SchemaFile
impl Send for SchemaFile
impl Sync for SchemaFile
impl Unpin for SchemaFile
impl UnsafeUnpin for SchemaFile
impl UnwindSafe for SchemaFile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.