pub struct EngineEndpoint {
pub id: String,
pub kind: EngineKind,
pub base_url: String,
pub model_id: String,
pub tokenizer_id: String,
pub tenant_id: String,
pub locality_domain: String,
}Fields§
§id: String§kind: EngineKind§base_url: String§model_id: String§tokenizer_id: String§tenant_id: String§locality_domain: StringImplementations§
Source§impl EngineEndpoint
impl EngineEndpoint
pub fn worker_state(&self) -> WorkerState
Trait Implementations§
Source§impl Clone for EngineEndpoint
impl Clone for EngineEndpoint
Source§fn clone(&self) -> EngineEndpoint
fn clone(&self) -> EngineEndpoint
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 EngineEndpoint
impl Debug for EngineEndpoint
Source§impl<'de> Deserialize<'de> for EngineEndpoint
impl<'de> Deserialize<'de> for EngineEndpoint
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
impl Eq for EngineEndpoint
Source§impl PartialEq for EngineEndpoint
impl PartialEq for EngineEndpoint
Source§fn eq(&self, other: &EngineEndpoint) -> bool
fn eq(&self, other: &EngineEndpoint) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EngineEndpoint
impl Serialize for EngineEndpoint
impl StructuralPartialEq for EngineEndpoint
Auto Trait Implementations§
impl Freeze for EngineEndpoint
impl RefUnwindSafe for EngineEndpoint
impl Send for EngineEndpoint
impl Sync for EngineEndpoint
impl Unpin for EngineEndpoint
impl UnsafeUnpin for EngineEndpoint
impl UnwindSafe for EngineEndpoint
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