pub(crate) struct InquiryListResponse {
pub(crate) email: String,
pub(crate) count: u64,
pub(crate) inquiries: Vec<Inquiry>,
}Expand description
GET /inquiries のレスポンスボディ
認証済みユーザーのお問い合わせ一覧を返します。
inquiries は作成日時の降順(新しい順)で格納されます。
Fields§
§email: String認証済みユーザーのメールアドレス。リクエストの JWT クレームから取得。
count: u64お問い合わせの件数。inquiries 配列の長さと等しい。
inquiries: Vec<Inquiry>お問い合わせの一覧。作成日時の降順(新しい順)で格納される。
Trait Implementations§
Source§impl Debug for InquiryListResponse
impl Debug for InquiryListResponse
Auto Trait Implementations§
impl Freeze for InquiryListResponse
impl RefUnwindSafe for InquiryListResponse
impl Send for InquiryListResponse
impl Sync for InquiryListResponse
impl Unpin for InquiryListResponse
impl UnsafeUnpin for InquiryListResponse
impl UnwindSafe for InquiryListResponse
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> 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 more§impl<B> IntoFunctionResponse<B, Body> for Bwhere
B: Serialize,
impl<B> IntoFunctionResponse<B, Body> for Bwhere
B: Serialize,
§fn into_response(self) -> FunctionResponse<B, Body>
fn into_response(self) -> FunctionResponse<B, Body>
Convert the type into a FunctionResponse.
Creates a shared type from an unshared type.