pub struct ContractorReportResponseDto {Show 19 fields
pub id: Uuid,
pub organization_id: Uuid,
pub building_id: Uuid,
pub ticket_id: Option<Uuid>,
pub quote_id: Option<Uuid>,
pub contractor_user_id: Option<Uuid>,
pub contractor_name: String,
pub work_date: Option<DateTime<Utc>>,
pub compte_rendu: Option<String>,
pub photos_before: Vec<Uuid>,
pub photos_after: Vec<Uuid>,
pub parts_replaced: Vec<ReplacedPartDto>,
pub status: String,
pub submitted_at: Option<DateTime<Utc>>,
pub validated_at: Option<DateTime<Utc>>,
pub validated_by: Option<Uuid>,
pub review_comments: Option<String>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
Réponse complète d’un rapport de travaux
Fields§
§id: Uuid§organization_id: Uuid§building_id: Uuid§ticket_id: Option<Uuid>§quote_id: Option<Uuid>§contractor_user_id: Option<Uuid>§contractor_name: String§work_date: Option<DateTime<Utc>>§compte_rendu: Option<String>§photos_before: Vec<Uuid>§photos_after: Vec<Uuid>§parts_replaced: Vec<ReplacedPartDto>§status: String§submitted_at: Option<DateTime<Utc>>§validated_at: Option<DateTime<Utc>>§validated_by: Option<Uuid>§review_comments: Option<String>§created_at: DateTime<Utc>§updated_at: DateTime<Utc>Trait Implementations§
Source§impl Debug for ContractorReportResponseDto
impl Debug for ContractorReportResponseDto
Source§impl From<&ContractorReport> for ContractorReportResponseDto
impl From<&ContractorReport> for ContractorReportResponseDto
Source§fn from(r: &ContractorReport) -> Self
fn from(r: &ContractorReport) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ContractorReportResponseDto
impl RefUnwindSafe for ContractorReportResponseDto
impl Send for ContractorReportResponseDto
impl Sync for ContractorReportResponseDto
impl Unpin for ContractorReportResponseDto
impl UnwindSafe for ContractorReportResponseDto
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
§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.