Struct google_sourcerepo1::api::ProjectConfig
source · pub struct ProjectConfig {
pub enable_private_key_check: Option<bool>,
pub name: Option<String>,
pub pubsub_configs: Option<HashMap<String, PubsubConfig>>,
}
Expand description
Cloud Source Repositories configuration of a project.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- get config projects (response)
- update config projects (response)
Fields§
§enable_private_key_check: Option<bool>
Reject a Git push that contains a private key.
name: Option<String>
The name of the project. Values are of the form projects/
.
pubsub_configs: Option<HashMap<String, PubsubConfig>>
How this project publishes a change in the repositories through Cloud Pub/Sub. Keyed by the topic names.
Trait Implementations§
source§impl Clone for ProjectConfig
impl Clone for ProjectConfig
source§fn clone(&self) -> ProjectConfig
fn clone(&self) -> ProjectConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ProjectConfig
impl Debug for ProjectConfig
source§impl Default for ProjectConfig
impl Default for ProjectConfig
source§fn default() -> ProjectConfig
fn default() -> ProjectConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ProjectConfig
impl<'de> Deserialize<'de> for ProjectConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for ProjectConfig
impl Serialize for ProjectConfig
impl ResponseResult for ProjectConfig
Auto Trait Implementations§
impl RefUnwindSafe for ProjectConfig
impl Send for ProjectConfig
impl Sync for ProjectConfig
impl Unpin for ProjectConfig
impl UnwindSafe for ProjectConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more