pub struct ValidateListOptions<'a> {
pub files: Option<Map<String, Value>>,
pub loader: Option<&'a dyn FileLoader>,
pub basepath: Option<String>,
}Expand description
Options for a list-spec validation run (the form ValidateOptions shape —
no data, so no data field).
Fields§
§files: Option<Map<String, Value>>Virtual file set for $ref resolution (default empty — no $ref).
loader: Option<&'a dyn FileLoader>A custom loader (overrides files).
basepath: Option<String>Basepath for relative $ref resolution.
Trait Implementations§
Source§impl<'a> Default for ValidateListOptions<'a>
impl<'a> Default for ValidateListOptions<'a>
Source§fn default() -> ValidateListOptions<'a>
fn default() -> ValidateListOptions<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ValidateListOptions<'a>
impl<'a> !Send for ValidateListOptions<'a>
impl<'a> !Sync for ValidateListOptions<'a>
impl<'a> !UnwindSafe for ValidateListOptions<'a>
impl<'a> Freeze for ValidateListOptions<'a>
impl<'a> Unpin for ValidateListOptions<'a>
impl<'a> UnsafeUnpin for ValidateListOptions<'a>
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