pub struct ModelsListRequest {
pub git_hub_token: Option<String>,
pub selection_id: Option<String>,
}Expand description
Optional opaque account selection or compatibility GitHub token used to list models.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§git_hub_token: Option<String>GitHub token accepted for compatibility with existing SDK clients. When provided, resolves this token instead of using the current account.
selection_id: Option<String>Opaque account identifier returned by account.getAllUsers. When omitted, the current account is used.
Trait Implementations§
Source§impl Clone for ModelsListRequest
impl Clone for ModelsListRequest
Source§fn clone(&self) -> ModelsListRequest
fn clone(&self) -> ModelsListRequest
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 ModelsListRequest
impl Debug for ModelsListRequest
Source§impl Default for ModelsListRequest
impl Default for ModelsListRequest
Source§fn default() -> ModelsListRequest
fn default() -> ModelsListRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ModelsListRequest
impl<'de> Deserialize<'de> for ModelsListRequest
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 ModelsListRequest
impl RefUnwindSafe for ModelsListRequest
impl Send for ModelsListRequest
impl Sync for ModelsListRequest
impl Unpin for ModelsListRequest
impl UnsafeUnpin for ModelsListRequest
impl UnwindSafe for ModelsListRequest
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