pub struct Reference<'a> {
pub from: &'a str,
pub text: &'a str,
}Expand description
Upstream material a delivery carries: the result of the work it was handed on from, quoted for context.
The label says what the material is and what standing it has. §5 of the plan’s defect list is the reason for the second half: an upstream agent’s prose arrives with a user message’s authority, so the block that carries it says in the same breath that it is context rather than an instruction.
Fields§
§from: &'a strWho produced the material, named in the labelling line.
text: &'a strThe material itself, quoted line by line.
Trait Implementations§
impl<'a> Copy for Reference<'a>
impl<'a> Eq for Reference<'a>
impl<'a> StructuralPartialEq for Reference<'a>
Auto Trait Implementations§
impl<'a> Freeze for Reference<'a>
impl<'a> RefUnwindSafe for Reference<'a>
impl<'a> Send for Reference<'a>
impl<'a> Sync for Reference<'a>
impl<'a> Unpin for Reference<'a>
impl<'a> UnsafeUnpin for Reference<'a>
impl<'a> UnwindSafe for Reference<'a>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.