Struct dagger_core::gql_client::ClientConfig
source · pub struct ClientConfig {
pub endpoint: String,
pub timeout: Option<u64>,
pub headers: Option<HashMap<String, String>>,
pub proxy: Option<GQLProxy>,
}Expand description
GQL client config
Fields§
§endpoint: Stringthe endpoint about graphql server
timeout: Option<u64>gql query timeout, unit: seconds
headers: Option<HashMap<String, String>>additional request header
proxy: Option<GQLProxy>request proxy
Trait Implementations§
source§impl Clone for ClientConfig
impl Clone for ClientConfig
source§fn clone(&self) -> ClientConfig
fn clone(&self) -> ClientConfig
Returns a copy 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 ClientConfig
impl Debug for ClientConfig
source§impl<'de> Deserialize<'de> for ClientConfig
impl<'de> Deserialize<'de> for ClientConfig
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