pub struct FieldEvent {
pub thread: ThreadId,
pub location: Location,
pub ref_type: ReferenceTypeId,
pub field_id: FieldId,
pub object: ObjectId,
}Expand description
Which field was touched, by what code, on which object — the context both field events carry. They differ only in whether a pending value comes with it, so it lives in one struct.
Fields§
§thread: ThreadId§location: LocationThe code that touched the field, not where the field is declared.
ref_type: ReferenceTypeIdThe type declaring the field.
field_id: FieldId§object: ObjectIdThe instance whose field was touched; 0 for a static field.
Trait Implementations§
Source§impl Clone for FieldEvent
impl Clone for FieldEvent
Source§fn clone(&self) -> FieldEvent
fn clone(&self) -> FieldEvent
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 FieldEvent
impl Debug for FieldEvent
Source§impl<'de> Deserialize<'de> for FieldEvent
impl<'de> Deserialize<'de> for FieldEvent
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
Auto Trait Implementations§
impl Freeze for FieldEvent
impl RefUnwindSafe for FieldEvent
impl Send for FieldEvent
impl Sync for FieldEvent
impl Unpin for FieldEvent
impl UnsafeUnpin for FieldEvent
impl UnwindSafe for FieldEvent
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