pub struct BuilderTestExpected {
pub success: bool,
pub typed_root: Option<TypedRootData>,
pub errors: Vec<String>,
}Expand description
Expected builder test results for comparison.
This struct represents the expected output of a builder test, including success status, typed root structure, and any expected errors.
Fields§
§success: boolWhether the build was expected to succeed.
typed_root: Option<TypedRootData>The expected typed root data, if any.
errors: Vec<String>Any expected error messages.
Trait Implementations§
Source§impl Clone for BuilderTestExpected
impl Clone for BuilderTestExpected
Source§fn clone(&self) -> BuilderTestExpected
fn clone(&self) -> BuilderTestExpected
Returns a duplicate of the value. Read more
1.0.0 · 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 BuilderTestExpected
impl Debug for BuilderTestExpected
Source§impl<'de> Deserialize<'de> for BuilderTestExpected
impl<'de> Deserialize<'de> for BuilderTestExpected
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BuilderTestExpected
impl PartialEq for BuilderTestExpected
Source§impl Serialize for BuilderTestExpected
impl Serialize for BuilderTestExpected
impl StructuralPartialEq for BuilderTestExpected
Auto Trait Implementations§
impl Freeze for BuilderTestExpected
impl RefUnwindSafe for BuilderTestExpected
impl Send for BuilderTestExpected
impl Sync for BuilderTestExpected
impl Unpin for BuilderTestExpected
impl UnsafeUnpin for BuilderTestExpected
impl UnwindSafe for BuilderTestExpected
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