pub struct ContractEvaluationResponseDto {Show 14 fields
pub id: String,
pub organization_id: String,
pub service_provider_id: String,
pub evaluator_id: String,
pub building_id: String,
pub quote_id: Option<String>,
pub ticket_id: Option<String>,
pub criteria: HashMap<String, u8>,
pub global_score: f64,
pub comments: Option<String>,
pub would_recommend: bool,
pub is_legal_evaluation: bool,
pub is_anonymous: bool,
pub created_at: String,
}Expand description
Response DTO for contract evaluation
Fields§
§id: String§organization_id: String§service_provider_id: String§evaluator_id: String§building_id: String§quote_id: Option<String>§ticket_id: Option<String>§criteria: HashMap<String, u8>§global_score: f64§comments: Option<String>§would_recommend: bool§is_legal_evaluation: bool§is_anonymous: bool§created_at: StringTrait Implementations§
Source§impl Clone for ContractEvaluationResponseDto
impl Clone for ContractEvaluationResponseDto
Source§fn clone(&self) -> ContractEvaluationResponseDto
fn clone(&self) -> ContractEvaluationResponseDto
Returns a duplicate 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<'de> Deserialize<'de> for ContractEvaluationResponseDto
impl<'de> Deserialize<'de> for ContractEvaluationResponseDto
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
Auto Trait Implementations§
impl Freeze for ContractEvaluationResponseDto
impl RefUnwindSafe for ContractEvaluationResponseDto
impl Send for ContractEvaluationResponseDto
impl Sync for ContractEvaluationResponseDto
impl Unpin for ContractEvaluationResponseDto
impl UnwindSafe for ContractEvaluationResponseDto
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
§impl<T> Chain<T> for T
impl<T> Chain<T> for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.