pub struct MeetingResponse {Show 23 fields
pub id: Uuid,
pub acp_id: Uuid,
pub building_id: Uuid,
pub meeting_type: MeetingType,
pub title: String,
pub description: Option<String>,
pub scheduled_date: DateTime<Utc>,
pub location: String,
pub status: MeetingStatus,
pub agenda: Vec<String>,
pub attendees_count: Option<i32>,
pub quorum_validated: bool,
pub quorum_percentage: Option<f64>,
pub total_quotas: Option<Decimal>,
pub present_quotas: Option<Decimal>,
pub is_second_convocation: bool,
pub minutes_document_id: Option<Uuid>,
pub minutes_sent_at: Option<DateTime<Utc>>,
pub date_limite_envoi_convocation: Option<DateTime<Utc>>,
pub convocation_encore_possible: bool,
pub jours_manquants_convocation: Option<i64>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
Response DTO for Meeting
Fields§
§id: Uuid§acp_id: UuidL’ACP dont c’est l’assemblée (Art. 3.87 § 1er, ADR-0045).
La réponse n’expose délibérément pas le syndic : ce qu’un client a besoin de savoir, c’est de quelle copropriété relève l’assemblée, pas qui la tenait au moment où elle s’est réunie.
building_id: Uuid§meeting_type: MeetingType§title: String§description: Option<String>§scheduled_date: DateTime<Utc>§location: String§status: MeetingStatus§agenda: Vec<String>§attendees_count: Option<i32>§quorum_validated: bool§quorum_percentage: Option<f64>§total_quotas: Option<Decimal>§present_quotas: Option<Decimal>§is_second_convocation: bool§minutes_document_id: Option<Uuid>§minutes_sent_at: Option<DateTime<Utc>>§date_limite_envoi_convocation: Option<DateTime<Utc>>La date limite d’envoi d’une convocation régulière : quinze jours avant
l’assemblée. None si l’assemblée est déjà tenue.
convocation_encore_possible: boolLe délai de quinze jours peut-il encore être tenu ?
false n’interdit rien : l’urgence est prévue par le texte
lui-même, une assemblée peut être encodée après coup, et une seconde
convocation subit la date de l’échec précédent.
jours_manquants_convocation: Option<i64>De combien de jours faudrait-il reculer l’assemblée pour tenir le
délai. None quand il est tenu, ou que l’assemblée est passée.
created_at: DateTime<Utc>§updated_at: DateTime<Utc>Trait Implementations§
Source§impl Debug for MeetingResponse
impl Debug for MeetingResponse
Source§impl<'de> Deserialize<'de> for MeetingResponse
impl<'de> Deserialize<'de> for MeetingResponse
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
Source§impl From<Meeting> for MeetingResponse
impl From<Meeting> for MeetingResponse
Auto Trait Implementations§
impl Freeze for MeetingResponse
impl RefUnwindSafe for MeetingResponse
impl Send for MeetingResponse
impl Sync for MeetingResponse
impl Unpin for MeetingResponse
impl UnsafeUnpin for MeetingResponse
impl UnwindSafe for MeetingResponse
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§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.