[][src]Enum apollo_client::IpValue

pub enum IpValue<'a> {
    HostName,
    Custom(&'a str),
}

Apollo config api ip param value.

Variants

HostName

Get the hostname of the machine.

Custom(&'a str)

Specify your own IP address or other text.

Trait Implementations

impl<'a> Debug for IpValue<'a>[src]

impl<'de: 'a, 'a> Deserialize<'de> for IpValue<'a>[src]

impl<'a> PartialEq<IpValue<'a>> for IpValue<'a>[src]

impl<'a> Serialize for IpValue<'a>[src]

impl<'a> StructuralPartialEq for IpValue<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for IpValue<'a>

impl<'a> Send for IpValue<'a>

impl<'a> Sync for IpValue<'a>

impl<'a> Unpin for IpValue<'a>

impl<'a> UnwindSafe for IpValue<'a>

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, 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.