#[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§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.impl StructuralPartialEq for ListLanguageModelsOutput
Auto Trait Implementations§
impl Freeze for ListLanguageModelsOutput
impl RefUnwindSafe for ListLanguageModelsOutput
impl Send for ListLanguageModelsOutput
impl Sync for ListLanguageModelsOutput
impl Unpin for ListLanguageModelsOutput
impl UnwindSafe for ListLanguageModelsOutput
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more