#[non_exhaustive]pub struct HttpConfig {
pub proxy_secret_version_name: String,
/* private fields */
}Expand description
HttpConfig is a configuration for HTTP related git operations.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.proxy_secret_version_name: StringSecretVersion resource of the HTTP proxy URL. The Service Account used in
the build (either the default Service Account or
user-specified Service Account) should have
secretmanager.versions.access permissions on this secret. The proxy URL
should be in format [protocol://][user[:password]@]proxyhost[:port].
Implementations§
Source§impl HttpConfig
impl HttpConfig
pub fn new() -> Self
Sourcepub fn set_proxy_secret_version_name<T: Into<String>>(self, v: T) -> Self
pub fn set_proxy_secret_version_name<T: Into<String>>(self, v: T) -> Self
Sets the value of proxy_secret_version_name.
§Example
ⓘ
let x = HttpConfig::new().set_proxy_secret_version_name("example");Trait Implementations§
Source§impl Clone for HttpConfig
impl Clone for HttpConfig
Source§fn clone(&self) -> HttpConfig
fn clone(&self) -> HttpConfig
Returns a duplicate 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 HttpConfig
impl Debug for HttpConfig
Source§impl Default for HttpConfig
impl Default for HttpConfig
Source§fn default() -> HttpConfig
fn default() -> HttpConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for HttpConfig
impl PartialEq for HttpConfig
impl StructuralPartialEq for HttpConfig
Auto Trait Implementations§
impl Freeze for HttpConfig
impl RefUnwindSafe for HttpConfig
impl Send for HttpConfig
impl Sync for HttpConfig
impl Unpin for HttpConfig
impl UnwindSafe for HttpConfig
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