#[non_exhaustive]pub struct ListLanguageModelsOutput {
pub next_token: Option<String>,
pub models: Option<Vec<LanguageModel>>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.next_token: Option<String>
If NextToken
is present in your response, it indicates that not all results are displayed. To view the next set of results, copy the string associated with the NextToken
parameter in your results output, then run your request again including NextToken
with the value of the copied string. Repeat as needed to view all your results.
models: Option<Vec<LanguageModel>>
Provides information about the custom language models that match the criteria specified in your request.
Implementations§
source§impl ListLanguageModelsOutput
impl ListLanguageModelsOutput
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If NextToken
is present in your response, it indicates that not all results are displayed. To view the next set of results, copy the string associated with the NextToken
parameter in your results output, then run your request again including NextToken
with the value of the copied string. Repeat as needed to view all your results.
sourcepub fn models(&self) -> &[LanguageModel]
pub fn models(&self) -> &[LanguageModel]
Provides information about the custom language models that match the criteria specified in your request.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .models.is_none()
.
source§impl ListLanguageModelsOutput
impl ListLanguageModelsOutput
sourcepub fn builder() -> ListLanguageModelsOutputBuilder
pub fn builder() -> ListLanguageModelsOutputBuilder
Creates a new builder-style object to manufacture ListLanguageModelsOutput
.
Trait Implementations§
source§impl Clone for ListLanguageModelsOutput
impl Clone for ListLanguageModelsOutput
source§fn clone(&self) -> ListLanguageModelsOutput
fn clone(&self) -> ListLanguageModelsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListLanguageModelsOutput
impl Debug for ListLanguageModelsOutput
source§impl PartialEq for ListLanguageModelsOutput
impl PartialEq for ListLanguageModelsOutput
source§fn eq(&self, other: &ListLanguageModelsOutput) -> bool
fn eq(&self, other: &ListLanguageModelsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ListLanguageModelsOutput
impl RequestId for ListLanguageModelsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.