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: 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 Default for MirrorConfig
[src]
impl Default for MirrorConfig
fn default() -> MirrorConfig
[src]
fn default() -> MirrorConfig
Returns the "default value" for a type. Read more
impl Clone for MirrorConfig
[src]
impl Clone for MirrorConfig
fn clone(&self) -> MirrorConfig
[src]
fn clone(&self) -> MirrorConfig
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for MirrorConfig
[src]
impl Debug for MirrorConfig
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for MirrorConfig
[src]
impl Part for MirrorConfig
Auto Trait Implementations
impl Send for MirrorConfig
impl Send for MirrorConfig
impl Sync for MirrorConfig
impl Sync for MirrorConfig