pub enum BasicOutput<'a> {
Valid(VecDeque<OutputUnit<Annotations<'a>>>),
Invalid(VecDeque<OutputUnit<ErrorDescription>>),
}
Expand description
The “basic” output format. See the documentation for Output::basic
for
examples of how to use this.
Variants§
Valid(VecDeque<OutputUnit<Annotations<'a>>>)
The schema was valid, collected annotations can be examined
Invalid(VecDeque<OutputUnit<ErrorDescription>>)
The schema was invalid
Implementations§
Trait Implementations§
Source§impl<'a> AddAssign for BasicOutput<'a>
impl<'a> AddAssign for BasicOutput<'a>
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+=
operation. Read moreSource§impl<'a> Debug for BasicOutput<'a>
impl<'a> Debug for BasicOutput<'a>
Source§impl<'a> Default for BasicOutput<'a>
impl<'a> Default for BasicOutput<'a>
Source§impl<'a> From<OutputUnit<Annotations<'a>>> for BasicOutput<'a>
impl<'a> From<OutputUnit<Annotations<'a>>> for BasicOutput<'a>
Source§fn from(unit: OutputUnit<Annotations<'a>>) -> Self
fn from(unit: OutputUnit<Annotations<'a>>) -> Self
Converts to this type from the input type.
Source§impl<'a> PartialEq for BasicOutput<'a>
impl<'a> PartialEq for BasicOutput<'a>
Source§impl<'a> Serialize for BasicOutput<'a>
impl<'a> Serialize for BasicOutput<'a>
Source§impl<'a> Sum for BasicOutput<'a>
impl<'a> Sum for BasicOutput<'a>
impl<'a> StructuralPartialEq for BasicOutput<'a>
Auto Trait Implementations§
impl<'a> Freeze for BasicOutput<'a>
impl<'a> RefUnwindSafe for BasicOutput<'a>
impl<'a> Send for BasicOutput<'a>
impl<'a> Sync for BasicOutput<'a>
impl<'a> Unpin for BasicOutput<'a>
impl<'a> UnwindSafe for BasicOutput<'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