pub struct Prompt {
pub id: u64,
pub project_id: Option<u64>,
pub project_name: Option<String>,
pub title: String,
pub body: Option<String>,
pub pinned: bool,
pub pinned_position: Option<u64>,
pub attachments_count: u64,
pub created_at: Option<String>,
pub updated_at: Option<String>,
}Fields§
§id: u64§project_id: Option<u64>§project_name: Option<String>§title: String§body: Option<String>§pinned: bool§pinned_position: Option<u64>§attachments_count: u64§created_at: Option<String>§updated_at: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Prompt
impl<'de> Deserialize<'de> for Prompt
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Prompt
Source§impl From<PromptDetail> for Prompt
impl From<PromptDetail> for Prompt
Source§fn from(detail: PromptDetail) -> Self
fn from(detail: PromptDetail) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Prompt
Auto Trait Implementations§
impl Forget for Prompt
impl Freeze for Prompt
impl Move for Prompt
impl RefUnwindSafe for Prompt
impl Send for Promptwhere
RawVecInner: Send,
impl Sync for Promptwhere
RawVecInner: Sync,
impl Unpin for Prompt
impl UnsafeUnpin for Prompt
impl UnwindSafe for Promptwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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