pub struct InstanceAddressDefinition {
pub hostname: String,
pub port: u16,
pub secure: Option<bool>,
pub user_agent: Option<String>,
pub endpoint_graphql: Option<String>,
pub endpoint_dynamic_graph: Option<String>,
pub endpoint_runtime: Option<String>,
pub endpoint_plugin: Option<String>,
pub bearer: Option<String>,
}
Fields§
§hostname: String
The hostname.
port: u16
The port.
secure: Option<bool>
Secure endpoint.
user_agent: Option<String>
The user agent.
endpoint_graphql: Option<String>
The relative URL of the GraphQL endpoint, by default “/graphql”.
endpoint_dynamic_graph: Option<String>
The relative URL of the dynamic graph endpoint, by default “/dynamic_graph”.
endpoint_runtime: Option<String>
The relative URL of the runtime endpoint, by default “/runtime/graphql”.
endpoint_plugin: Option<String>
The relative URL of the plugins endpoint, by default “/plugin/graphql”.
bearer: Option<String>
The authentication token.
Trait Implementations§
Source§impl Clone for InstanceAddressDefinition
impl Clone for InstanceAddressDefinition
Source§fn clone(&self) -> InstanceAddressDefinition
fn clone(&self) -> InstanceAddressDefinition
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 InstanceAddressDefinition
impl Debug for InstanceAddressDefinition
Source§impl<'de> Deserialize<'de> for InstanceAddressDefinition
impl<'de> Deserialize<'de> for InstanceAddressDefinition
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 From<InstanceAddressDefinition> for InstanceAddress
impl From<InstanceAddressDefinition> for InstanceAddress
Source§fn from(address: InstanceAddressDefinition) -> Self
fn from(address: InstanceAddressDefinition) -> Self
Converts to this type from the input type.
Source§impl InputType for InstanceAddressDefinition
impl InputType for InstanceAddressDefinition
Source§type RawValueType = InstanceAddressDefinition
type RawValueType = InstanceAddressDefinition
The raw type used for validator. Read more
Source§fn create_type_info(registry: &mut Registry) -> String
fn create_type_info(registry: &mut Registry) -> String
Create type information in the registry and return qualified typename.
Source§fn parse(value: Option<Value>) -> InputValueResult<Self>
fn parse(value: Option<Value>) -> InputValueResult<Self>
Parse from
Value
. None represents undefined.Source§fn as_raw_value(&self) -> Option<&Self::RawValueType>
fn as_raw_value(&self) -> Option<&Self::RawValueType>
Returns a reference to the raw value.
§fn qualified_type_name() -> String
fn qualified_type_name() -> String
Qualified typename.
impl InputObjectType for InstanceAddressDefinition
Auto Trait Implementations§
impl Freeze for InstanceAddressDefinition
impl RefUnwindSafe for InstanceAddressDefinition
impl Send for InstanceAddressDefinition
impl Sync for InstanceAddressDefinition
impl Unpin for InstanceAddressDefinition
impl UnwindSafe for InstanceAddressDefinition
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more