pub struct EndpointConfig {
pub id: String,
pub api_base: String,
pub api_key: Option<String>,
pub endpoint_id: Option<String>,
pub metadata: Option<HashMap<String, String>>,
}Expand description
Endpoint configuration
Fields§
§id: String§api_base: String§api_key: Option<String>§endpoint_id: Option<String>§metadata: Option<HashMap<String, String>>Trait Implementations§
Source§impl Clone for EndpointConfig
impl Clone for EndpointConfig
Source§fn clone(&self) -> EndpointConfig
fn clone(&self) -> EndpointConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 EndpointConfig
impl Debug for EndpointConfig
Source§impl<'de> Deserialize<'de> for EndpointConfig
impl<'de> Deserialize<'de> for EndpointConfig
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
Source§impl PartialEq for EndpointConfig
impl PartialEq for EndpointConfig
Source§impl Serialize for EndpointConfig
impl Serialize for EndpointConfig
impl StructuralPartialEq for EndpointConfig
Auto Trait Implementations§
impl Freeze for EndpointConfig
impl RefUnwindSafe for EndpointConfig
impl Send for EndpointConfig
impl Sync for EndpointConfig
impl Unpin for EndpointConfig
impl UnwindSafe for EndpointConfig
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