pub struct PrDecisionAnnotation {
pub path: String,
pub line: u32,
pub level: PrDecisionAnnotationLevel,
pub title: String,
pub message: String,
pub raw_details: Option<String>,
}Expand description
File-anchored annotation inside PrDecisionSurface::annotations.
Fields§
§path: StringFile path relative to the repository root.
line: u321-based line the annotation points at.
level: PrDecisionAnnotationLevelAnnotation display level.
title: StringShort annotation title.
message: StringAnnotation body text.
raw_details: Option<String>Extra unrendered context, when available.
Trait Implementations§
Source§impl Clone for PrDecisionAnnotation
impl Clone for PrDecisionAnnotation
Source§impl Debug for PrDecisionAnnotation
impl Debug for PrDecisionAnnotation
Source§impl<'de> Deserialize<'de> for PrDecisionAnnotation
impl<'de> Deserialize<'de> for PrDecisionAnnotation
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 PrDecisionAnnotation
Source§impl PartialEq for PrDecisionAnnotation
impl PartialEq for PrDecisionAnnotation
Source§impl Serialize for PrDecisionAnnotation
impl Serialize for PrDecisionAnnotation
impl StructuralPartialEq for PrDecisionAnnotation
Auto Trait Implementations§
impl Freeze for PrDecisionAnnotation
impl RefUnwindSafe for PrDecisionAnnotation
impl Send for PrDecisionAnnotation
impl Sync for PrDecisionAnnotation
impl Unpin for PrDecisionAnnotation
impl UnsafeUnpin for PrDecisionAnnotation
impl UnwindSafe for PrDecisionAnnotation
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.