pub struct GenerateAgoResolutionsUseCase { /* private fields */ }Implementations§
Source§impl GenerateAgoResolutionsUseCase
impl GenerateAgoResolutionsUseCase
pub fn new( meeting_repository: Arc<dyn MeetingRepository>, resolution_repository: Arc<dyn ResolutionRepository>, ) -> Self
Sourcepub async fn generate_ago_resolutions(
&self,
meeting_id: Uuid,
) -> Result<Vec<Resolution>, AppError>
pub async fn generate_ago_resolutions( &self, meeting_id: Uuid, ) -> Result<Vec<Resolution>, AppError>
Ajoute d’office la résolution EvaluationContractorsAuto à l’AGO
désignée. Rend Ok(vec![]) sans rien créer si la réunion est une AGE
(@edge) — et rend la résolution déjà présente plutôt que d’en créer
une seconde si l’appel est répété (idempotence : une convocation
modifiée peut redéclencher la génération).
Auto Trait Implementations§
impl !RefUnwindSafe for GenerateAgoResolutionsUseCase
impl !UnwindSafe for GenerateAgoResolutionsUseCase
impl Freeze for GenerateAgoResolutionsUseCase
impl Send for GenerateAgoResolutionsUseCase
impl Sync for GenerateAgoResolutionsUseCase
impl Unpin for GenerateAgoResolutionsUseCase
impl UnsafeUnpin for GenerateAgoResolutionsUseCase
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> 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.