pub struct ConversationResponse {
pub underscore_links: Option<ConversationResponseUnderscoreLinks>,
pub id: Option<String>,
pub subject: Option<String>,
pub status: Option<ConversationResponseStatus>,
pub assignee: Option<TeammateResponse>,
pub recipient: Option<RecipientResponse>,
pub tags: Option<Vec<TagResponse>>,
pub links: Option<Vec<LinkResponse>>,
pub created_at: Option<i64>,
pub is_private: Option<bool>,
pub scheduled_reminders: Option<Vec<Reminder>>,
pub metadata: Option<ConversationResponseMetadata>,
}
Fields§
§underscore_links: Option<ConversationResponseUnderscoreLinks>
§id: Option<String>
Unique identifier of the message
subject: Option<String>
Subject of the message for email message
status: Option<ConversationResponseStatus>
Status of the conversation
assignee: Option<TeammateResponse>
A teammate is a user in Front.
recipient: Option<RecipientResponse>
List of the tags for this conversation
links: Option<Vec<LinkResponse>>
List of the links for this conversation
created_at: Option<i64>
Timestamp at which the conversation have been created.
is_private: Option<bool>
Whether or not the conversation is private
scheduled_reminders: Option<Vec<Reminder>>
List of scheduled (non-expired and non-canceled) reminders for this conversation
metadata: Option<ConversationResponseMetadata>
Optional metadata about the conversation
Trait Implementations§
Source§impl Clone for ConversationResponse
impl Clone for ConversationResponse
Source§fn clone(&self) -> ConversationResponse
fn clone(&self) -> ConversationResponse
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ConversationResponse
impl Debug for ConversationResponse
Source§impl<'de> Deserialize<'de> for ConversationResponse
impl<'de> Deserialize<'de> for ConversationResponse
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
Source§impl Display for ConversationResponse
impl Display for ConversationResponse
Source§impl JsonSchema for ConversationResponse
impl JsonSchema for ConversationResponse
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moreSource§impl PartialEq for ConversationResponse
impl PartialEq for ConversationResponse
Source§impl Serialize for ConversationResponse
impl Serialize for ConversationResponse
Source§impl Tabled for ConversationResponse
impl Tabled for ConversationResponse
impl StructuralPartialEq for ConversationResponse
Auto Trait Implementations§
impl Freeze for ConversationResponse
impl RefUnwindSafe for ConversationResponse
impl Send for ConversationResponse
impl Sync for ConversationResponse
impl Unpin for ConversationResponse
impl UnwindSafe for ConversationResponse
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,
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