[][src]Struct google_sourcerepo1::MirrorConfig

pub struct MirrorConfig {
    pub url: Option<String>,
    pub webhook_id: Option<String>,
    pub deploy_key_id: Option<String>,
}

Configuration to automatically mirror a repository from another hosting service, for example GitHub or Bitbucket.

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

Fields

url: Option<String>

URL of the main repository at the other hosting service.

webhook_id: Option<String>

ID of the webhook listening to updates to trigger mirroring. Removing this webhook from the other hosting service will stop Google Cloud Source Repositories from receiving notifications, and thereby disabling mirroring.

deploy_key_id: Option<String>

ID of the SSH deploy key at the other hosting service. Removing this key from the other service would deauthorize Google Cloud Source Repositories from mirroring.

Trait Implementations

impl Clone for MirrorConfig[src]

impl Debug for MirrorConfig[src]

impl Default for MirrorConfig[src]

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

impl Part for MirrorConfig[src]

impl Serialize for MirrorConfig[src]

Auto Trait Implementations

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

impl<T> Typeable for T where
    T: Any