pub struct AgeRequestResponseDto {Show 23 fields
pub id: Uuid,
pub organization_id: Uuid,
pub building_id: Uuid,
pub title: String,
pub description: Option<String>,
pub status: String,
pub created_by: Uuid,
pub cosignatories: Vec<AgeRequestCosignatoryDto>,
pub total_shares_pct: f64,
pub threshold_pct: f64,
pub threshold_reached: bool,
pub threshold_reached_at: Option<DateTime<Utc>>,
pub submitted_to_syndic_at: Option<DateTime<Utc>>,
pub syndic_deadline_at: Option<DateTime<Utc>>,
pub syndic_response_at: Option<DateTime<Utc>>,
pub syndic_notes: Option<String>,
pub auto_convocation_triggered: bool,
pub meeting_id: Option<Uuid>,
pub concertation_poll_id: Option<Uuid>,
pub shares_pct_missing: f64,
pub is_deadline_expired: bool,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
Réponse complète d’une demande d’AGE
Fields§
§id: Uuid§organization_id: Uuid§building_id: Uuid§title: String§description: Option<String>§status: String§created_by: Uuid§cosignatories: Vec<AgeRequestCosignatoryDto>§threshold_pct: f64§threshold_reached: bool§threshold_reached_at: Option<DateTime<Utc>>§submitted_to_syndic_at: Option<DateTime<Utc>>§syndic_deadline_at: Option<DateTime<Utc>>§syndic_response_at: Option<DateTime<Utc>>§syndic_notes: Option<String>§auto_convocation_triggered: bool§meeting_id: Option<Uuid>§concertation_poll_id: Option<Uuid>Pourcentage manquant pour atteindre le seuil (0.0 si déjà atteint)
is_deadline_expired: boolLe délai syndic est-il dépassé ?
created_at: DateTime<Utc>§updated_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for AgeRequestResponseDto
impl Clone for AgeRequestResponseDto
Source§fn clone(&self) -> AgeRequestResponseDto
fn clone(&self) -> AgeRequestResponseDto
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 Debug for AgeRequestResponseDto
impl Debug for AgeRequestResponseDto
Source§impl From<&AgeRequest> for AgeRequestResponseDto
impl From<&AgeRequest> for AgeRequestResponseDto
Source§fn from(r: &AgeRequest) -> Self
fn from(r: &AgeRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AgeRequestResponseDto
impl RefUnwindSafe for AgeRequestResponseDto
impl Send for AgeRequestResponseDto
impl Sync for AgeRequestResponseDto
impl Unpin for AgeRequestResponseDto
impl UnwindSafe for AgeRequestResponseDto
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.