Struct gapi_grpc::google::devtools::sourcerepo::v1::MirrorConfig[][src]

pub struct MirrorConfig {
    pub url: String,
    pub webhook_id: String,
    pub deploy_key_id: String,
}

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

Fields

url: String

URL of the main repository at the other hosting service.

webhook_id: 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: 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 Message for MirrorConfig[src]

impl PartialEq<MirrorConfig> for MirrorConfig[src]

impl StructuralPartialEq for MirrorConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for MirrorConfig

impl Send for MirrorConfig

impl Sync for MirrorConfig

impl Unpin for MirrorConfig

impl UnwindSafe for MirrorConfig

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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for 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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]