pub struct ListModelsResponse {
pub models: Option<Vec<Model>>,
pub next_page_token: Option<String>,
}Expand description
Response message for ListModels.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations models list projects (response)
Fields§
§models: Option<Vec<Model>>The models read.
next_page_token: Option<String>A token to retrieve next page of results. Pass this token to the page_token field in the ListModelsRequest to obtain the corresponding page.
Trait Implementations§
Source§impl Clone for ListModelsResponse
impl Clone for ListModelsResponse
Source§fn clone(&self) -> ListModelsResponse
fn clone(&self) -> ListModelsResponse
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 ListModelsResponse
impl Debug for ListModelsResponse
Source§impl Default for ListModelsResponse
impl Default for ListModelsResponse
Source§fn default() -> ListModelsResponse
fn default() -> ListModelsResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListModelsResponse
impl<'de> Deserialize<'de> for ListModelsResponse
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 Serialize for ListModelsResponse
impl Serialize for ListModelsResponse
impl ResponseResult for ListModelsResponse
Auto Trait Implementations§
impl Freeze for ListModelsResponse
impl RefUnwindSafe for ListModelsResponse
impl Send for ListModelsResponse
impl Sync for ListModelsResponse
impl Unpin for ListModelsResponse
impl UnwindSafe for ListModelsResponse
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