pub struct FactV1 {
pub id: String,
pub statement: String,
pub kind: String,
pub applies_to: Vec<String>,
pub sources: Vec<String>,
pub from_contributions: Vec<String>,
pub anchors: Vec<CodeAnchorV1>,
}Expand description
One fact.
Fields§
§id: String§statement: String§kind: String§applies_to: Vec<String>§sources: Vec<String>§from_contributions: Vec<String>Proposal credits assigned by Hive on merge; never sent in a patch.
anchors: Vec<CodeAnchorV1>1.9: where in the code the fact applies (CodeAnchorV1).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FactV1
impl<'de> Deserialize<'de> for FactV1
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
impl Eq for FactV1
impl StructuralPartialEq for FactV1
Auto Trait Implementations§
impl Forget for FactV1
impl Freeze for FactV1
impl Move for FactV1
impl RefUnwindSafe for FactV1
impl Send for FactV1
impl Sync for FactV1
impl Unpin for FactV1
impl UnsafeUnpin for FactV1
impl UnwindSafe for FactV1
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