Struct google_sourcerepo1::MirrorConfig[][src]

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 of the main repository at the other hosting service.

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.

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 Default for MirrorConfig
[src]

Returns the "default value" for a type. Read more

impl Clone for MirrorConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for MirrorConfig
[src]

Formats the value using the given formatter. Read more

impl Part for MirrorConfig
[src]

Auto Trait Implementations