pub struct EmittedText {
pub primary: String,
pub citations: Vec<ContractId>,
}Expand description
Plain text emitted by a single TargetEmitter before the
multi-emitter routing decides what to put in the final Artifact.
Doesn’t carry QuorumStatus (that’s chosen by the wrapper).
Fields§
§primary: String§citations: Vec<ContractId>Trait Implementations§
Source§impl Clone for EmittedText
impl Clone for EmittedText
Source§fn clone(&self) -> EmittedText
fn clone(&self) -> EmittedText
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 EmittedText
impl Debug for EmittedText
Source§impl<'de> Deserialize<'de> for EmittedText
impl<'de> Deserialize<'de> for EmittedText
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 EmittedText
impl PartialEq for EmittedText
Source§fn eq(&self, other: &EmittedText) -> bool
fn eq(&self, other: &EmittedText) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EmittedText
impl Serialize for EmittedText
impl StructuralPartialEq for EmittedText
Auto Trait Implementations§
impl Freeze for EmittedText
impl RefUnwindSafe for EmittedText
impl Send for EmittedText
impl Sync for EmittedText
impl Unpin for EmittedText
impl UnsafeUnpin for EmittedText
impl UnwindSafe for EmittedText
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