pub enum ElementCompositionRole {
LocalOnly,
Producer,
Consumer,
Observer,
ArchiveTarget,
}Expand description
Whether this element participates in document-level composition.
Variants§
LocalOnly
Independent element; local reconciliation is enough.
Producer
Feeds another element, e.g. backlog feeds queue.
Consumer
Projects or consumes state from another element, e.g. queue from backlog.
Observer
Observes multiple models, e.g. signals.
ArchiveTarget
Archive target for completed tracked work.
Trait Implementations§
Source§impl Clone for ElementCompositionRole
impl Clone for ElementCompositionRole
Source§fn clone(&self) -> ElementCompositionRole
fn clone(&self) -> ElementCompositionRole
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 moreimpl Copy for ElementCompositionRole
Source§impl Debug for ElementCompositionRole
impl Debug for ElementCompositionRole
impl Eq for ElementCompositionRole
Source§impl PartialEq for ElementCompositionRole
impl PartialEq for ElementCompositionRole
Source§fn eq(&self, other: &ElementCompositionRole) -> bool
fn eq(&self, other: &ElementCompositionRole) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ElementCompositionRole
Auto Trait Implementations§
impl Freeze for ElementCompositionRole
impl RefUnwindSafe for ElementCompositionRole
impl Send for ElementCompositionRole
impl Sync for ElementCompositionRole
impl Unpin for ElementCompositionRole
impl UnsafeUnpin for ElementCompositionRole
impl UnwindSafe for ElementCompositionRole
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