[][src]Struct apollo_client::ClientConfig

pub struct ClientConfig<S: AsRef<str>, V: AsRef<[S]>> {
    pub config_server_url: S,
    pub app_id: S,
    pub cluster_name: S,
    pub namespace_names: V,
    pub ip: Option<IpValue<S>>,
}

Configuration of Apollo and api information.

Fields

config_server_url: Sapp_id: Scluster_name: Snamespace_names: Vip: Option<IpValue<S>>

Trait Implementations

impl<S: Clone + AsRef<str>, V: Clone + AsRef<[S]>> Clone for ClientConfig<S, V>[src]

impl<S: Debug + AsRef<str>, V: Debug + AsRef<[S]>> Debug for ClientConfig<S, V>[src]

impl Default for ClientConfig<&'static str, &'static [&'static str]>[src]

impl Default for ClientConfig<&'static str, Vec<&'static str>>[src]

impl Default for ClientConfig<String, Vec<String>>[src]

impl<'de, S: AsRef<str>, V: AsRef<[S]>> Deserialize<'de> for ClientConfig<S, V> where
    S: Deserialize<'de>,
    V: Deserialize<'de>,
    S: Default
[src]

impl<S: PartialEq + AsRef<str>, V: PartialEq + AsRef<[S]>> PartialEq<ClientConfig<S, V>> for ClientConfig<S, V>[src]

impl<S: AsRef<str>, V: AsRef<[S]>> Serialize for ClientConfig<S, V> where
    S: Serialize,
    V: Serialize
[src]

impl<S: AsRef<str>, V: AsRef<[S]>> StructuralPartialEq for ClientConfig<S, V>[src]

Auto Trait Implementations

impl<S, V> RefUnwindSafe for ClientConfig<S, V> where
    S: RefUnwindSafe,
    V: RefUnwindSafe

impl<S, V> Send for ClientConfig<S, V> where
    S: Send,
    V: Send

impl<S, V> Sync for ClientConfig<S, V> where
    S: Sync,
    V: Sync

impl<S, V> Unpin for ClientConfig<S, V> where
    S: Unpin,
    V: Unpin

impl<S, V> UnwindSafe for ClientConfig<S, V> where
    S: UnwindSafe,
    V: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.