Struct google_compute1::api::ForwardingRuleServiceDirectoryRegistration[][src]

pub struct ForwardingRuleServiceDirectoryRegistration {
    pub namespace: Option<String>,
    pub service: Option<String>,
    pub service_directory_region: Option<String>,
}

Describes the auto-registration of the Forwarding Rule to Service Directory. The region and project of the Service Directory resource generated from this registration will be the same as this Forwarding Rule.

This type is not used in any activity, and only used as part of another schema.

Fields

namespace: Option<String>

Service Directory namespace to register the forwarding rule under.

service: Option<String>

Service Directory service to register the forwarding rule under.

service_directory_region: Option<String>

[Optional] Service Directory region to register this global forwarding rule under. Default to "us-central1". Only used for PSC for Google APIs. All PSC for Google APIs Forwarding Rules on the same network should use the same Service Directory region.

Trait Implementations

impl Clone for ForwardingRuleServiceDirectoryRegistration[src]

impl Debug for ForwardingRuleServiceDirectoryRegistration[src]

impl Default for ForwardingRuleServiceDirectoryRegistration[src]

impl<'de> Deserialize<'de> for ForwardingRuleServiceDirectoryRegistration[src]

impl Part for ForwardingRuleServiceDirectoryRegistration[src]

impl Serialize for ForwardingRuleServiceDirectoryRegistration[src]

Auto Trait Implementations

impl RefUnwindSafe for ForwardingRuleServiceDirectoryRegistration[src]

impl Send for ForwardingRuleServiceDirectoryRegistration[src]

impl Sync for ForwardingRuleServiceDirectoryRegistration[src]

impl Unpin for ForwardingRuleServiceDirectoryRegistration[src]

impl UnwindSafe for ForwardingRuleServiceDirectoryRegistration[src]

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: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument 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.