pub struct SerializedView {
pub view_type: String,
pub props: Value,
pub children: Vec<SerializedView>,
}Expand description
Serialized view representation
Fields§
§view_type: StringThe view type (e.g., “Text”, “Button”)
props: ValueThe view properties
children: Vec<SerializedView>The child views
Trait Implementations§
Source§impl Clone for SerializedView
impl Clone for SerializedView
Source§fn clone(&self) -> SerializedView
fn clone(&self) -> SerializedView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SerializedView
impl Debug for SerializedView
Source§impl<'de> Deserialize<'de> for SerializedView
impl<'de> Deserialize<'de> for SerializedView
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
Auto Trait Implementations§
impl Freeze for SerializedView
impl RefUnwindSafe for SerializedView
impl Send for SerializedView
impl Sync for SerializedView
impl Unpin for SerializedView
impl UnsafeUnpin for SerializedView
impl UnwindSafe for SerializedView
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