pub struct Sources { /* private fields */ }Expand description
What a reply may draw on.
Implementations§
Source§impl Sources
impl Sources
pub fn new() -> Self
Sourcepub fn customer(self, text: impl Into<String>) -> Self
pub fn customer(self, text: impl Into<String>) -> Self
Adds a text the customer wrote: its numbers may be repeated, nothing else counts.
pub fn add_fact(&mut self, text: impl Into<String>)
pub fn add_customer(&mut self, text: impl Into<String>)
Sourcepub fn facts_text(&self) -> String
pub fn facts_text(&self) -> String
The facts, one text.
Sourcepub fn customer_text(&self) -> String
pub fn customer_text(&self) -> String
The customer’s words, one text.
Trait Implementations§
impl Eq for Sources
impl StructuralPartialEq for Sources
Auto Trait Implementations§
impl Forget for Sources
impl Freeze for Sources
impl Move for Sources
impl RefUnwindSafe for Sources
impl Send for Sourceswhere
RawVecInner: Send,
impl Sync for Sourceswhere
RawVecInner: Sync,
impl Unpin for Sources
impl UnsafeUnpin for Sources
impl UnwindSafe for Sourceswhere
RawVecInner: UnwindSafe,
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
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.