pub struct ListBatchesResponse {
pub data: Vec<Batch>,
pub first_id: Option<String>,
pub last_id: Option<String>,
pub has_more: bool,
}
Fields§
§data: Vec<Batch>
§first_id: Option<String>
§last_id: Option<String>
§has_more: bool
Implementations§
Source§impl ListBatchesResponse
impl ListBatchesResponse
Sourcepub fn builder() -> ListBatchesResponseBuilder<((), (), (), ())>
pub fn builder() -> ListBatchesResponseBuilder<((), (), (), ())>
Create a builder for building ListBatchesResponse
.
On the builder, call .data(...)
, .first_id(...)
(optional), .last_id(...)
(optional), .has_more(...)
to set the values of the fields.
Finally, call .build()
to create the instance of ListBatchesResponse
.
Trait Implementations§
Source§impl Clone for ListBatchesResponse
impl Clone for ListBatchesResponse
Source§fn clone(&self) -> ListBatchesResponse
fn clone(&self) -> ListBatchesResponse
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 ListBatchesResponse
impl Debug for ListBatchesResponse
Source§impl<'de> Deserialize<'de> for ListBatchesResponse
impl<'de> Deserialize<'de> for ListBatchesResponse
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 ListBatchesResponse
impl PartialEq for ListBatchesResponse
Source§impl Serialize for ListBatchesResponse
impl Serialize for ListBatchesResponse
impl StructuralPartialEq for ListBatchesResponse
Auto Trait Implementations§
impl Freeze for ListBatchesResponse
impl RefUnwindSafe for ListBatchesResponse
impl Send for ListBatchesResponse
impl Sync for ListBatchesResponse
impl Unpin for ListBatchesResponse
impl UnwindSafe for ListBatchesResponse
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