pub struct JsonSchemaResourceInput {
pub uri: String,
pub label: Option<SourceLabel>,
pub contents: JsonSchemaResourceContents,
}Expand description
One attempted JSON Schema resource supplied to the pure schema loader.
The outer I/O shell assigns a stable logical uri for reference
resolution. The display label and contents remain provenance only.
Fields§
§uri: StringLogical absolute URI used by JSON Schema reference resolution.
label: Option<SourceLabel>Human-readable filesystem path or caller label.
contents: JsonSchemaResourceContentsEither the complete UTF-8 document or the shell’s read failure.
Trait Implementations§
Source§impl Clone for JsonSchemaResourceInput
impl Clone for JsonSchemaResourceInput
Source§fn clone(&self) -> JsonSchemaResourceInput
fn clone(&self) -> JsonSchemaResourceInput
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 JsonSchemaResourceInput
impl Debug for JsonSchemaResourceInput
impl Eq for JsonSchemaResourceInput
Source§impl PartialEq for JsonSchemaResourceInput
impl PartialEq for JsonSchemaResourceInput
impl StructuralPartialEq for JsonSchemaResourceInput
Auto Trait Implementations§
impl Freeze for JsonSchemaResourceInput
impl RefUnwindSafe for JsonSchemaResourceInput
impl Send for JsonSchemaResourceInput
impl Sync for JsonSchemaResourceInput
impl Unpin for JsonSchemaResourceInput
impl UnsafeUnpin for JsonSchemaResourceInput
impl UnwindSafe for JsonSchemaResourceInput
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.