pub struct RevisionResource {
pub id: Uuid,
pub diff_id: Uuid,
pub number: i32,
pub commit_hash: String,
pub parent_hash: String,
pub created_at: DateTime<Utc>,
pub verdicts: Vec<ReviewVerdictResource>,
}Fields§
§id: Uuid§diff_id: Uuid§number: i32§commit_hash: String§parent_hash: String§created_at: DateTime<Utc>§verdicts: Vec<ReviewVerdictResource>Trait Implementations§
impl ApiResource for RevisionResource
Source§impl Clone for RevisionResource
impl Clone for RevisionResource
Source§fn clone(&self) -> RevisionResource
fn clone(&self) -> RevisionResource
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 RevisionResource
impl Debug for RevisionResource
Source§impl<'de> Deserialize<'de> for RevisionResource
impl<'de> Deserialize<'de> for RevisionResource
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 RevisionResource
Source§impl PartialEq for RevisionResource
impl PartialEq for RevisionResource
Source§fn eq(&self, other: &RevisionResource) -> bool
fn eq(&self, other: &RevisionResource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RevisionResource
impl Serialize for RevisionResource
impl StructuralPartialEq for RevisionResource
Auto Trait Implementations§
impl Freeze for RevisionResource
impl RefUnwindSafe for RevisionResource
impl Send for RevisionResource
impl Sync for RevisionResource
impl Unpin for RevisionResource
impl UnsafeUnpin for RevisionResource
impl UnwindSafe for RevisionResource
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