pub struct TemplateIdentity {
pub name: String,
pub source: String,
}Expand description
Where a component’s source came from, which keys its nested components deterministically.
Fields§
§name: StringThe component’s name, such as counter.
source: StringThe view name or inline marker, such as livewire.counter.
Trait Implementations§
Source§impl Clone for TemplateIdentity
impl Clone for TemplateIdentity
Source§impl Debug for TemplateIdentity
impl Debug for TemplateIdentity
impl Eq for TemplateIdentity
Source§impl PartialEq for TemplateIdentity
impl PartialEq for TemplateIdentity
impl StructuralPartialEq for TemplateIdentity
Auto Trait Implementations§
impl Forget for TemplateIdentity
impl Freeze for TemplateIdentity
impl Move for TemplateIdentity
impl RefUnwindSafe for TemplateIdentity
impl Send for TemplateIdentitywhere
RawVecInner: Send,
impl Sync for TemplateIdentitywhere
RawVecInner: Sync,
impl Unpin for TemplateIdentity
impl UnsafeUnpin for TemplateIdentity
impl UnwindSafe for TemplateIdentitywhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.