pub struct ComponentInvocation {
pub id: Option<String>,
pub name: String,
pub properties: Vec<Property>,
pub iteration: Box<Option<Loop>>,
pub condition: Box<Option<Expression>>,
pub events: Vec<Event>,
pub children: Vec<ComponentInvocation>,
pub source: ComponentSource,
pub line_number: usize,
}Fields§
§id: Option<String>§name: String§properties: Vec<Property>§iteration: Box<Option<Loop>>§condition: Box<Option<Expression>>§events: Vec<Event>§children: Vec<ComponentInvocation>§source: ComponentSource§line_number: usizeImplementations§
Source§impl ComponentInvocation
impl ComponentInvocation
pub fn from_name(name: &str) -> ComponentInvocation
Trait Implementations§
Source§impl Clone for ComponentInvocation
impl Clone for ComponentInvocation
Source§fn clone(&self) -> ComponentInvocation
fn clone(&self) -> ComponentInvocation
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 ComponentInvocation
impl Debug for ComponentInvocation
Source§impl<'de> Deserialize<'de> for ComponentInvocation
impl<'de> Deserialize<'de> for ComponentInvocation
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 ComponentInvocation
impl PartialEq for ComponentInvocation
Source§impl Serialize for ComponentInvocation
impl Serialize for ComponentInvocation
impl StructuralPartialEq for ComponentInvocation
Auto Trait Implementations§
impl Freeze for ComponentInvocation
impl RefUnwindSafe for ComponentInvocation
impl Send for ComponentInvocation
impl Sync for ComponentInvocation
impl Unpin for ComponentInvocation
impl UnwindSafe for ComponentInvocation
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