pub struct ListInputItemsParams {
pub response_id: String,
pub limit: Option<i64>,
pub order: Option<ListInputItemsParamsOrder>,
pub after: Option<String>,
pub before: Option<String>,
pub include: Option<Vec<Includable>>,
}
Fields§
§response_id: String
The ID of the response to retrieve input items for.
limit: Option<i64>
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.
order: Option<ListInputItemsParamsOrder>
The order to return the input items in. Default is desc
.
asc
: Return the input items in ascending order.desc
: Return the input items in descending order.
after: Option<String>
An item ID to list items after, used in pagination.
before: Option<String>
An item ID to list items before, used in pagination.
include: Option<Vec<Includable>>
Additional fields to include in the response. See the include
parameter for Response creation above for more information.
Implementations§
Source§impl ListInputItemsParams
impl ListInputItemsParams
Sourcepub fn builder() -> ListInputItemsParamsBuilder<((), (), (), (), (), ())>
pub fn builder() -> ListInputItemsParamsBuilder<((), (), (), (), (), ())>
Create a builder for building ListInputItemsParams
.
On the builder, call .response_id(...)
, .limit(...)
(optional), .order(...)
(optional), .after(...)
(optional), .before(...)
(optional), .include(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of ListInputItemsParams
.
Trait Implementations§
Source§impl Clone for ListInputItemsParams
impl Clone for ListInputItemsParams
Source§fn clone(&self) -> ListInputItemsParams
fn clone(&self) -> ListInputItemsParams
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ListInputItemsParams
impl Debug for ListInputItemsParams
Source§impl<'de> Deserialize<'de> for ListInputItemsParams
impl<'de> Deserialize<'de> for ListInputItemsParams
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 ListInputItemsParams
impl PartialEq for ListInputItemsParams
Source§impl Serialize for ListInputItemsParams
impl Serialize for ListInputItemsParams
impl StructuralPartialEq for ListInputItemsParams
Auto Trait Implementations§
impl Freeze for ListInputItemsParams
impl RefUnwindSafe for ListInputItemsParams
impl Send for ListInputItemsParams
impl Sync for ListInputItemsParams
impl Unpin for ListInputItemsParams
impl UnwindSafe for ListInputItemsParams
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