pub struct get_by_reference_number;Expand description
Get état daté by reference number — derrière un lien notaire (#845, ADR 0048, ADR 0051).
── Ce que cette route servait avant ──────────────────────────────────────
Aucune identité : ni AuthenticatedUser, ni jeton lu à la main. Un état
daté porte les dettes d’un copropriétaire nommé, et sa référence n’est pas
un secret — elle circule dans des courriels, des dossiers de vente. Le
seul obstacle pour lire n’importe quel état daté était de connaître une
référence devinable. Dernière des 30 routes nues relevées par
garde_identite_absente (#845).
── Ce qu’elle sert maintenant ────────────────────────────────────────────
Le notaire présente ?token=<jeton>, émis par le syndic via
POST /etats-dates/{id}/notary-link. verify_token (ci-dessous) vérifie
que ce jeton précis ouvre CET état daté, n’est ni expiré ni révoqué. Le
jeton EST l’identité — même idiome que /c/{token} (liens magiques),
mais multi-lecture et révocable/renouvelable (ADR 0051), donc gardé
nommément plutôt que rejoint la liste PUBLIQUES de la garde.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for get_by_reference_number
impl RefUnwindSafe for get_by_reference_number
impl Send for get_by_reference_number
impl Sync for get_by_reference_number
impl Unpin for get_by_reference_number
impl UnsafeUnpin for get_by_reference_number
impl UnwindSafe for get_by_reference_number
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
§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