pub struct TraceEntry {
pub subject: Identity<Traced>,
pub decision: TraceDecision,
}Expand description
One recorded decision about one subject.
Fields§
§subject: Identity<Traced>The subject decided about.
decision: TraceDecisionWhat was decided, and on whose fact.
Implementations§
Source§impl TraceEntry
impl TraceEntry
Sourcepub fn encode_into(&self, into: &mut Vec<u8>)
pub fn encode_into(&self, into: &mut Vec<u8>)
Appends this entry’s canonical bytes: the subject, then the decision.
Trait Implementations§
Source§impl Clone for TraceEntry
impl Clone for TraceEntry
Source§fn clone(&self) -> TraceEntry
fn clone(&self) -> TraceEntry
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 TraceEntry
Source§impl Debug for TraceEntry
impl Debug for TraceEntry
impl Eq for TraceEntry
Source§impl Hash for TraceEntry
impl Hash for TraceEntry
Source§impl PartialEq for TraceEntry
impl PartialEq for TraceEntry
impl StructuralPartialEq for TraceEntry
Auto Trait Implementations§
impl Freeze for TraceEntry
impl RefUnwindSafe for TraceEntry
impl Send for TraceEntry
impl Sync for TraceEntry
impl Unpin for TraceEntry
impl UnsafeUnpin for TraceEntry
impl UnwindSafe for TraceEntry
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