pub struct SourcedValue {
pub source: String,
pub raw_text: String,
}Expand description
One source’s text for a product.
Fields§
§source: Stringcrate::ContextProvider::name of the source that reported this.
raw_text: StringVerbatim text exactly as that source published it.
Trait Implementations§
Source§impl Clone for SourcedValue
impl Clone for SourcedValue
Source§fn clone(&self) -> SourcedValue
fn clone(&self) -> SourcedValue
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 SourcedValue
impl Debug for SourcedValue
impl Eq for SourcedValue
Source§impl PartialEq for SourcedValue
impl PartialEq for SourcedValue
Source§fn eq(&self, other: &SourcedValue) -> bool
fn eq(&self, other: &SourcedValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SourcedValue
Auto Trait Implementations§
impl Freeze for SourcedValue
impl RefUnwindSafe for SourcedValue
impl Send for SourcedValue
impl Sync for SourcedValue
impl Unpin for SourcedValue
impl UnsafeUnpin for SourcedValue
impl UnwindSafe for SourcedValue
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