pub struct ChildTemplate {
pub data_binding: String,
pub component_id: String,
}Expand description
A template for generating dynamic lists of children from a data-bound list.
Fields§
§data_binding: StringThe path to a list in the data model.
component_id: StringThe ID of the component to use as a template for each item.
Trait Implementations§
Source§impl Clone for ChildTemplate
impl Clone for ChildTemplate
Source§fn clone(&self) -> ChildTemplate
fn clone(&self) -> ChildTemplate
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 ChildTemplate
impl Debug for ChildTemplate
Source§impl<'de> Deserialize<'de> for ChildTemplate
impl<'de> Deserialize<'de> for ChildTemplate
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 ChildTemplate
impl PartialEq for ChildTemplate
Source§impl Serialize for ChildTemplate
impl Serialize for ChildTemplate
impl StructuralPartialEq for ChildTemplate
Auto Trait Implementations§
impl Freeze for ChildTemplate
impl RefUnwindSafe for ChildTemplate
impl Send for ChildTemplate
impl Sync for ChildTemplate
impl Unpin for ChildTemplate
impl UnsafeUnpin for ChildTemplate
impl UnwindSafe for ChildTemplate
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