pub struct ConversationItemList {
pub data: Vec<ConversationItem>,
pub has_more: bool,
pub first_id: String,
pub last_id: String,
}
Expand description
A list of Conversation items.
Fields§
§data: Vec<ConversationItem>
A list of conversation items.
has_more: bool
Whether there are more items available.
first_id: String
The ID of the first item in the list.
last_id: String
The ID of the last item in the list.
Implementations§
Source§impl ConversationItemList
impl ConversationItemList
Sourcepub fn builder() -> ConversationItemListBuilder<((), (), (), ())>
pub fn builder() -> ConversationItemListBuilder<((), (), (), ())>
Create a builder for building ConversationItemList
.
On the builder, call .data(...)
, .has_more(...)
, .first_id(...)
, .last_id(...)
to set the values of the fields.
Finally, call .build()
to create the instance of ConversationItemList
.
Trait Implementations§
Source§impl Clone for ConversationItemList
impl Clone for ConversationItemList
Source§fn clone(&self) -> ConversationItemList
fn clone(&self) -> ConversationItemList
Returns a duplicate 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 ConversationItemList
impl Debug for ConversationItemList
Source§impl<'de> Deserialize<'de> for ConversationItemList
impl<'de> Deserialize<'de> for ConversationItemList
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 PartialEq for ConversationItemList
impl PartialEq for ConversationItemList
Source§impl Serialize for ConversationItemList
impl Serialize for ConversationItemList
impl StructuralPartialEq for ConversationItemList
Auto Trait Implementations§
impl Freeze for ConversationItemList
impl RefUnwindSafe for ConversationItemList
impl Send for ConversationItemList
impl Sync for ConversationItemList
impl Unpin for ConversationItemList
impl UnwindSafe for ConversationItemList
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