pub struct ProviderGetEndpointRequest {
pub model_id: Option<String>,
}Expand description
Optional model identifier to scope the endpoint snapshot to.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§model_id: Option<String>Model identifier the caller intends to use against the returned endpoint. Used to pick the correct wire shape. Omit to use whichever model the session is currently using.
Trait Implementations§
Source§impl Clone for ProviderGetEndpointRequest
impl Clone for ProviderGetEndpointRequest
Source§fn clone(&self) -> ProviderGetEndpointRequest
fn clone(&self) -> ProviderGetEndpointRequest
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 ProviderGetEndpointRequest
impl Debug for ProviderGetEndpointRequest
Source§impl Default for ProviderGetEndpointRequest
impl Default for ProviderGetEndpointRequest
Source§fn default() -> ProviderGetEndpointRequest
fn default() -> ProviderGetEndpointRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProviderGetEndpointRequest
impl<'de> Deserialize<'de> for ProviderGetEndpointRequest
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 ProviderGetEndpointRequest
impl RefUnwindSafe for ProviderGetEndpointRequest
impl Send for ProviderGetEndpointRequest
impl Sync for ProviderGetEndpointRequest
impl Unpin for ProviderGetEndpointRequest
impl UnsafeUnpin for ProviderGetEndpointRequest
impl UnwindSafe for ProviderGetEndpointRequest
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