pub struct Emitter {
pub namespace: &'static str,
pub producer: &'static str,
pub door: &'static str,
}Expand description
Who emitted a generated table, in the words the emission writes.
Every name these services declare about their own act — the namespace, the producer, and the door — is stated here rather than composed inside a rendering, so an authored declaration cannot sign an act it did not perform.
Fields§
§namespace: &'static strThe owner the producer and the door are spelled under.
producer: &'static strThe producer that emits the table.
door: &'static strThe door the declaration was authored through.
Trait Implementations§
impl Copy for Emitter
impl Eq for Emitter
impl StructuralPartialEq for Emitter
Auto Trait Implementations§
impl Freeze for Emitter
impl RefUnwindSafe for Emitter
impl Send for Emitter
impl Sync for Emitter
impl Unpin for Emitter
impl UnsafeUnpin for Emitter
impl UnwindSafe for Emitter
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