pub struct WorkReportResponseDto {Show 21 fields
pub id: String,
pub organization_id: String,
pub building_id: String,
pub title: String,
pub description: String,
pub work_type: WorkType,
pub contractor_name: String,
pub contractor_contact: Option<String>,
pub work_date: String,
pub completion_date: Option<String>,
pub cost: f64,
pub invoice_number: Option<String>,
pub photos: Vec<String>,
pub documents: Vec<String>,
pub notes: Option<String>,
pub warranty_type: WarrantyType,
pub warranty_expiry: String,
pub is_warranty_valid: bool,
pub warranty_days_remaining: i64,
pub created_at: String,
pub updated_at: String,
}Fields§
§id: String§organization_id: String§building_id: String§title: String§description: String§work_type: WorkType§contractor_name: String§contractor_contact: Option<String>§work_date: String§completion_date: Option<String>§cost: f64§invoice_number: Option<String>§photos: Vec<String>§documents: Vec<String>§notes: Option<String>§warranty_type: WarrantyType§warranty_expiry: String§is_warranty_valid: bool§warranty_days_remaining: i64§created_at: String§updated_at: StringTrait Implementations§
Source§impl Debug for WorkReportResponseDto
impl Debug for WorkReportResponseDto
Auto Trait Implementations§
impl Freeze for WorkReportResponseDto
impl RefUnwindSafe for WorkReportResponseDto
impl Send for WorkReportResponseDto
impl Sync for WorkReportResponseDto
impl Unpin for WorkReportResponseDto
impl UnwindSafe for WorkReportResponseDto
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.