Struct valgrind::data::AdvisorReview
source · pub struct AdvisorReview {
pub id: i32,
pub proposal_id: i32,
pub assessor: String,
pub impact_alignment_rating_given: i32,
pub impact_alignment_note: String,
pub feasibility_rating_given: i32,
pub feasibility_note: String,
pub auditability_rating_given: i32,
pub auditability_note: String,
pub ranking: ReviewRanking,
}
Fields§
§id: i32
§proposal_id: i32
§assessor: String
§impact_alignment_rating_given: i32
§impact_alignment_note: String
§feasibility_rating_given: i32
§feasibility_note: String
§auditability_rating_given: i32
§auditability_note: String
§ranking: ReviewRanking
Trait Implementations§
source§impl Clone for AdvisorReview
impl Clone for AdvisorReview
source§fn clone(&self) -> AdvisorReview
fn clone(&self) -> AdvisorReview
Returns a copy of the value. Read more
1.0.0 · 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 AdvisorReview
impl Debug for AdvisorReview
source§impl<'de> Deserialize<'de> for AdvisorReview
impl<'de> Deserialize<'de> for AdvisorReview
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<AdvisorReview, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<AdvisorReview, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Insertable<table> for AdvisorReview
impl Insertable<table> for AdvisorReview
§type Values = (Eq<proposal_id, <i32 as AsExpression<<proposal_id as Expression>::SqlType>>::Expression>, Eq<assessor, <String as AsExpression<<assessor as Expression>::SqlType>>::Expression>, Eq<impact_alignment_rating_given, <i32 as AsExpression<<impact_alignment_rating_given as Expression>::SqlType>>::Expression>, Eq<impact_alignment_note, <String as AsExpression<<impact_alignment_note as Expression>::SqlType>>::Expression>, Eq<feasibility_rating_given, <i32 as AsExpression<<feasibility_rating_given as Expression>::SqlType>>::Expression>, Eq<feasibility_note, <String as AsExpression<<feasibility_note as Expression>::SqlType>>::Expression>, Eq<auditability_rating_given, <i32 as AsExpression<<auditability_rating_given as Expression>::SqlType>>::Expression>, Eq<auditability_note, <String as AsExpression<<auditability_note as Expression>::SqlType>>::Expression>, Eq<ranking, <i32 as AsExpression<<ranking as Expression>::SqlType>>::Expression>)
type Values = (Eq<proposal_id, <i32 as AsExpression<<proposal_id as Expression>::SqlType>>::Expression>, Eq<assessor, <String as AsExpression<<assessor as Expression>::SqlType>>::Expression>, Eq<impact_alignment_rating_given, <i32 as AsExpression<<impact_alignment_rating_given as Expression>::SqlType>>::Expression>, Eq<impact_alignment_note, <String as AsExpression<<impact_alignment_note as Expression>::SqlType>>::Expression>, Eq<feasibility_rating_given, <i32 as AsExpression<<feasibility_rating_given as Expression>::SqlType>>::Expression>, Eq<feasibility_note, <String as AsExpression<<feasibility_note as Expression>::SqlType>>::Expression>, Eq<auditability_rating_given, <i32 as AsExpression<<auditability_rating_given as Expression>::SqlType>>::Expression>, Eq<auditability_note, <String as AsExpression<<auditability_note as Expression>::SqlType>>::Expression>, Eq<ranking, <i32 as AsExpression<<ranking as Expression>::SqlType>>::Expression>)
The
VALUES
clause to insert these records Read moresource§fn values(self) -> <AdvisorReview as Insertable<table>>::Values
fn values(self) -> <AdvisorReview as Insertable<table>>::Values
Construct
Self::Values
Read more§fn insert_into(
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>where
Self: Sized,
fn insert_into( self, table: T ) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>where Self: Sized,
Insert
self
into a given table. Read moresource§impl PartialEq<AdvisorReview> for AdvisorReview
impl PartialEq<AdvisorReview> for AdvisorReview
source§fn eq(&self, other: &AdvisorReview) -> bool
fn eq(&self, other: &AdvisorReview) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<__DB, __ST> Queryable<__ST, __DB> for AdvisorReviewwhere
__DB: Backend,
(i32, i32, String, i32, String, i32, String, i32, String, ReviewRanking): Queryable<__ST, __DB>,
impl<__DB, __ST> Queryable<__ST, __DB> for AdvisorReviewwhere __DB: Backend, (i32, i32, String, i32, String, i32, String, i32, String, ReviewRanking): Queryable<__ST, __DB>,
source§impl Serialize for AdvisorReview
impl Serialize for AdvisorReview
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for AdvisorReview
impl StructuralEq for AdvisorReview
impl StructuralPartialEq for AdvisorReview
Auto Trait Implementations§
impl RefUnwindSafe for AdvisorReview
impl Send for AdvisorReview
impl Sync for AdvisorReview
impl Unpin for AdvisorReview
impl UnwindSafe for AdvisorReview
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Fake for T
impl<T> Fake for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request