pub(crate) struct Inquiry {
pub(crate) id: Uuid,
pub(crate) email: String,
pub(crate) subject: String,
pub(crate) body: String,
pub(crate) created_at: DateTime<FixedOffset>,
}Expand description
APIレスポンス用のお問い合わせモデル
Fields§
§id: Uuid一意の識別子(UUIDv7)
email: Stringユーザーのメールアドレス
subject: Stringお問い合わせの件名
body: Stringお問い合わせの本文
created_at: DateTime<FixedOffset>作成日時
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Inquiry
impl RefUnwindSafe for Inquiry
impl Send for Inquiry
impl Sync for Inquiry
impl Unpin for Inquiry
impl UnsafeUnpin for Inquiry
impl UnwindSafe for Inquiry
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.