pub struct ValidationContext {
pub existing_projects: Vec<String>,
pub existing_specs: HashMap<String, Vec<String>>,
pub strict_mode: bool,
pub max_content_length: usize,
}
Expand description
Enhanced validation context
Fields§
§existing_projects: Vec<String>
§existing_specs: HashMap<String, Vec<String>>
§strict_mode: bool
§max_content_length: usize
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ValidationContext
impl RefUnwindSafe for ValidationContext
impl Send for ValidationContext
impl Sync for ValidationContext
impl Unpin for ValidationContext
impl UnwindSafe for ValidationContext
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