Struct fuel_indexer_lib::config::graphql::GraphQLConfig
source · pub struct GraphQLConfig {
pub host: String,
pub port: String,
pub max_body_size: usize,
}
Fields§
§host: String
§port: String
§max_body_size: usize
Trait Implementations§
source§impl Clone for GraphQLConfig
impl Clone for GraphQLConfig
source§fn clone(&self) -> GraphQLConfig
fn clone(&self) -> GraphQLConfig
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 GraphQLConfig
impl Debug for GraphQLConfig
source§impl Default for GraphQLConfig
impl Default for GraphQLConfig
source§impl<'de> Deserialize<'de> for GraphQLConfig
impl<'de> Deserialize<'de> for GraphQLConfig
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 Env for GraphQLConfig
impl Env for GraphQLConfig
fn inject_opt_env_vars(&mut self) -> Result<(), IndexerConfigError>
source§impl From<GraphQLConfig> for SocketAddr
impl From<GraphQLConfig> for SocketAddr
source§fn from(cfg: GraphQLConfig) -> SocketAddr
fn from(cfg: GraphQLConfig) -> SocketAddr
Converts to this type from the input type.
source§impl From<GraphQLConfig> for Uri
impl From<GraphQLConfig> for Uri
source§fn from(c: GraphQLConfig) -> Self
fn from(c: GraphQLConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for GraphQLConfig
impl Send for GraphQLConfig
impl Sync for GraphQLConfig
impl Unpin for GraphQLConfig
impl UnwindSafe for GraphQLConfig
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