pub struct TypedRootData {
pub type_name: String,
pub content: Value,
}Expand description
Typed root data structure for builder testing.
Represents the typed root structure with its type name and serialized content used for testing builder output. Since TypedRoot can be any type, we serialize it as a generic structure for comparison.
Fields§
§type_name: String§content: ValueTrait Implementations§
Source§impl Debug for TypedRootData
impl Debug for TypedRootData
Source§impl<'de> Deserialize<'de> for TypedRootData
impl<'de> Deserialize<'de> for TypedRootData
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 TypedRootData
impl PartialEq for TypedRootData
Source§impl Serialize for TypedRootData
impl Serialize for TypedRootData
impl StructuralPartialEq for TypedRootData
Auto Trait Implementations§
impl Freeze for TypedRootData
impl RefUnwindSafe for TypedRootData
impl Send for TypedRootData
impl Sync for TypedRootData
impl Unpin for TypedRootData
impl UnwindSafe for TypedRootData
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