pub struct SchemaValidateDto {
pub namespace: String,
pub would_be_version: u32,
pub validation_errors: Vec<SchemaErrorDto>,
}Expand description
POST /v1/schema/validate response.
Fields§
§namespace: StringNamespace parsed from the document; empty if the parse failed before reaching it.
would_be_version: u32What the version WOULD become — 0 when validation failed.
validation_errors: Vec<SchemaErrorDto>Trait Implementations§
Source§impl Debug for SchemaValidateDto
impl Debug for SchemaValidateDto
Source§impl From<SchemaValidateResponse> for SchemaValidateDto
impl From<SchemaValidateResponse> for SchemaValidateDto
Source§fn from(r: SchemaValidateResponse) -> Self
fn from(r: SchemaValidateResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SchemaValidateDto
impl RefUnwindSafe for SchemaValidateDto
impl Send for SchemaValidateDto
impl Sync for SchemaValidateDto
impl Unpin for SchemaValidateDto
impl UnsafeUnpin for SchemaValidateDto
impl UnwindSafe for SchemaValidateDto
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