pub struct EntityMeta {
pub owner: Principal,
pub created: Tick,
}Expand description
Per-entity metadata. Surfaced to L1 via runtime::InstanceView.
Fields§
§owner: PrincipalPrincipal that owned the entity at spawn time.
created: TickTick at which the entity was spawned.
Trait Implementations§
Source§impl Clone for EntityMeta
impl Clone for EntityMeta
Source§fn clone(&self) -> EntityMeta
fn clone(&self) -> EntityMeta
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 EntityMeta
impl Debug for EntityMeta
Source§impl<'de> Deserialize<'de> for EntityMeta
impl<'de> Deserialize<'de> for EntityMeta
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 EntityMeta
impl PartialEq for EntityMeta
Source§impl Serialize for EntityMeta
impl Serialize for EntityMeta
impl Eq for EntityMeta
impl StructuralPartialEq for EntityMeta
Auto Trait Implementations§
impl Freeze for EntityMeta
impl RefUnwindSafe for EntityMeta
impl Send for EntityMeta
impl Sync for EntityMeta
impl Unpin for EntityMeta
impl UnsafeUnpin for EntityMeta
impl UnwindSafe for EntityMeta
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