pub struct get_consent_status;Expand description
GET /api/v1/consent/status Check current consent status for the authenticated user
Returns which types of consent the user has given (privacy policy and/or terms). Useful for conditional display of consent modals in the frontend.
§Returns
200 OK- Consent status returned401 Unauthorized- Missing or invalid authentication500 Internal Server Error- Database error
Trait Implementations§
Source§impl HttpServiceFactory for get_consent_status
impl HttpServiceFactory for get_consent_status
Source§impl Path for get_consent_status
impl Path for get_consent_status
Source§impl SchemaReferences for get_consent_status
impl SchemaReferences for get_consent_status
Source§impl<'t> Tags<'t> for get_consent_status
impl<'t> Tags<'t> for get_consent_status
Auto Trait Implementations§
impl Freeze for get_consent_status
impl RefUnwindSafe for get_consent_status
impl Send for get_consent_status
impl Sync for get_consent_status
impl Unpin for get_consent_status
impl UnwindSafe for get_consent_status
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<T> Chain<T> for T
impl<T> Chain<T> for T
§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.