pub struct SubmittedReview {
pub id: String,
pub author: String,
pub state: ReviewState,
pub body: String,
pub submitted_at: String,
}Expand description
A review somebody submitted: the verdict and its summary (the line comments are in the threads). Listed in the conversation next to the plain comments.
Fields§
§id: String§state: ReviewState§body: StringThe summary; may be empty (an approval without words).
submitted_at: StringEmpty when the host does not date it (GitLab approvals).
Trait Implementations§
Source§impl Clone for SubmittedReview
impl Clone for SubmittedReview
Source§impl Debug for SubmittedReview
impl Debug for SubmittedReview
Source§impl<'de> Deserialize<'de> for SubmittedReview
impl<'de> Deserialize<'de> for SubmittedReview
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 SubmittedReview
Source§impl PartialEq for SubmittedReview
impl PartialEq for SubmittedReview
Source§impl Serialize for SubmittedReview
impl Serialize for SubmittedReview
impl StructuralPartialEq for SubmittedReview
Auto Trait Implementations§
impl Forget for SubmittedReview
impl Freeze for SubmittedReview
impl Move for SubmittedReview
impl RefUnwindSafe for SubmittedReview
impl Send for SubmittedReviewwhere
RawVecInner: Send,
impl Sync for SubmittedReviewwhere
RawVecInner: Sync,
impl Unpin for SubmittedReview
impl UnsafeUnpin for SubmittedReview
impl UnwindSafe for SubmittedReviewwhere
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,
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§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.