pub struct ModelListParams {
pub cursor: Option<String>,
pub include_hidden: Option<bool>,
pub limit: Option<u32>,
}Expand description
ModelListParams
JSON schema
{
"title": "ModelListParams",
"type": "object",
"properties": {
"cursor": {
"description": "Opaque pagination cursor returned by a previous call.",
"type": [
"string",
"null"
]
},
"includeHidden": {
"description": "When true, include models that are hidden from the default picker list.",
"type": [
"boolean",
"null"
]
},
"limit": {
"description": "Optional page size; defaults to a reasonable server-side value.",
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0.0
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Fields§
§cursor: Option<String>Opaque pagination cursor returned by a previous call.
When true, include models that are hidden from the default picker list.
limit: Option<u32>Optional page size; defaults to a reasonable server-side value.
Trait Implementations§
Source§impl Clone for ModelListParams
impl Clone for ModelListParams
Source§fn clone(&self) -> ModelListParams
fn clone(&self) -> ModelListParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ModelListParams
impl Debug for ModelListParams
Source§impl Default for ModelListParams
impl Default for ModelListParams
Source§impl<'de> Deserialize<'de> for ModelListParams
impl<'de> Deserialize<'de> for ModelListParams
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
Auto Trait Implementations§
impl Freeze for ModelListParams
impl RefUnwindSafe for ModelListParams
impl Send for ModelListParams
impl Sync for ModelListParams
impl Unpin for ModelListParams
impl UnsafeUnpin for ModelListParams
impl UnwindSafe for ModelListParams
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