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 Cloud 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 FactV1where
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<CodeAnchorV1>: Freeze,
impl Move for FactV1
impl RefUnwindSafe for FactV1
impl Send for FactV1where
RawVecInner: Send,
impl Sync for FactV1where
RawVecInner: Sync,
impl Unpin for FactV1
impl UnsafeUnpin for FactV1where
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<CodeAnchorV1>: UnsafeUnpin,
impl UnwindSafe for FactV1where
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