pub struct MeetingCompletionChecklist {
pub convocations_sent: bool,
pub open_resolutions: i32,
pub attendance_recorded: bool,
pub attended_quotas: Decimal,
pub total_quotas: Decimal,
pub present_owners_count: i32,
pub total_owners_count: i32,
pub minutes_draft_exists: bool,
}Expand description
Track H Story H3 — Snapshot des conditions Art. 3.87 §3-5 CC pour décider de la clôturabilité d’une AG.
Pureté : struct de données, agrégée par
MeetingCompletionCheckerPort::build_checklist() (1 query SQL agrégée).
Meeting::assert_can_complete(&checklist) consomme cette struct sans
faire d’I/O — propriété hexagonale.
Decimal exact (mémoire no-f64-in-money) : attended_quotas et
total_quotas sont en Decimal (millièmes / dix-millièmes selon acte
de base). Convention : total_quotas = SUM(units.quota) du building.
Fields§
§convocations_sent: bool§open_resolutions: i320 = toutes résolutions clôturées (status != ‘Pending’).
attendance_recorded: bool§attended_quotas: DecimalSomme des quotas présents+représentés (cf. meetings.present_quotas).
total_quotas: DecimalSomme des quotas du building (SUM units.quota).
present_owners_count: i32Story H9 — Nombre de copropriétaires présents OU représentés (têtes).
Source : meetings.present_owners_count (saisi par le syndic, comme
present_quotas). Volet « têtes » du quorum double (Art. 3.87 §5).
total_owners_count: i32Story H9 — Nombre total de copropriétaires du building (têtes).
Source : COUNT(DISTINCT owner) du building (calculé DB-side).
minutes_draft_exists: boolmeetings.minutes_document_id IS NOT NULL.
Trait Implementations§
Source§impl Clone for MeetingCompletionChecklist
impl Clone for MeetingCompletionChecklist
Source§fn clone(&self) -> MeetingCompletionChecklist
fn clone(&self) -> MeetingCompletionChecklist
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MeetingCompletionChecklist
impl Debug for MeetingCompletionChecklist
Source§impl PartialEq for MeetingCompletionChecklist
impl PartialEq for MeetingCompletionChecklist
Source§fn eq(&self, other: &MeetingCompletionChecklist) -> bool
fn eq(&self, other: &MeetingCompletionChecklist) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MeetingCompletionChecklist
Auto Trait Implementations§
impl Freeze for MeetingCompletionChecklist
impl RefUnwindSafe for MeetingCompletionChecklist
impl Send for MeetingCompletionChecklist
impl Sync for MeetingCompletionChecklist
impl Unpin for MeetingCompletionChecklist
impl UnsafeUnpin for MeetingCompletionChecklist
impl UnwindSafe for MeetingCompletionChecklist
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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>
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>
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 more