pub struct ItemCreateParams {
pub items: Vec<Value>,
pub include: Option<Vec<Value>>,
}Fields§
§items: Vec<Value>The items to add to the conversation. You may add up to 20 items at a time.
include: Option<Vec<Value>>Additional fields to include in the response.
Trait Implementations§
Source§impl Clone for ItemCreateParams
impl Clone for ItemCreateParams
Source§fn clone(&self) -> ItemCreateParams
fn clone(&self) -> ItemCreateParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ItemCreateParams
impl Debug for ItemCreateParams
Source§impl<'de> Deserialize<'de> for ItemCreateParams
impl<'de> Deserialize<'de> for ItemCreateParams
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
Auto Trait Implementations§
impl Freeze for ItemCreateParams
impl RefUnwindSafe for ItemCreateParams
impl Send for ItemCreateParams
impl Sync for ItemCreateParams
impl Unpin for ItemCreateParams
impl UnsafeUnpin for ItemCreateParams
impl UnwindSafe for ItemCreateParams
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