pub struct MembreDuConseil {
pub owner_id: Uuid,
pub nomme_le: DateTime<Utc>,
pub echu_le: Option<DateTime<Utc>>,
}Expand description
Un membre du conseil, avec son mandat borné.
Fields§
§owner_id: Uuid§nomme_le: DateTime<Utc>§echu_le: Option<DateTime<Utc>>Le mandat court jusqu’à la prochaine AG ordinaire (§ 3). Tant qu’elle
ne s’est pas tenue, la date est inconnue — d’où l’Option.
Implementations§
Source§impl MembreDuConseil
impl MembreDuConseil
Sourcepub fn nommer(
owner_id: Uuid,
nature_du_droit: OwnershipType,
dispose_du_droit_de_vote: bool,
est_le_syndic: bool,
nomme_le: DateTime<Utc>,
) -> Result<Self, NominationRefusee>
pub fn nommer( owner_id: Uuid, nature_du_droit: OwnershipType, dispose_du_droit_de_vote: bool, est_le_syndic: bool, nomme_le: DateTime<Utc>, ) -> Result<Self, NominationRefusee>
Nomme un membre, si la loi le permet.
nature_du_droit et dispose_du_droit_de_vote viennent de la
détention : l’article vise « les titulaires d’un droit réel disposant
d’un droit de vote », donc les deux conditions.
Sourcepub fn echoir_a_lag_ordinaire(&mut self, tenue_le: DateTime<Utc>)
pub fn echoir_a_lag_ordinaire(&mut self, tenue_le: DateTime<Utc>)
Le mandat prend fin à la prochaine assemblée générale ordinaire.
pub fn en_fonction_le(&self, moment: DateTime<Utc>) -> bool
Trait Implementations§
Source§impl Clone for MembreDuConseil
impl Clone for MembreDuConseil
Source§fn clone(&self) -> MembreDuConseil
fn clone(&self) -> MembreDuConseil
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MembreDuConseil
impl Debug for MembreDuConseil
Source§impl PartialEq for MembreDuConseil
impl PartialEq for MembreDuConseil
Source§fn eq(&self, other: &MembreDuConseil) -> bool
fn eq(&self, other: &MembreDuConseil) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MembreDuConseil
Auto Trait Implementations§
impl Freeze for MembreDuConseil
impl RefUnwindSafe for MembreDuConseil
impl Send for MembreDuConseil
impl Sync for MembreDuConseil
impl Unpin for MembreDuConseil
impl UnsafeUnpin for MembreDuConseil
impl UnwindSafe for MembreDuConseil
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
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.